From 14631f7fa58e52daf02bc66e5b9a8dfea2aaae0f Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 25 Jul 2005 19:40:46 +0000 Subject: [PATCH] #if wxUSE_DATAOBJ guard src/gtk/dataobj.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataobj.cpp | 5 ++++- src/gtk1/dataobj.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gtk/dataobj.cpp b/src/gtk/dataobj.cpp index f52cdb4a3d..b4341cc0e4 100644 --- a/src/gtk/dataobj.cpp +++ b/src/gtk/dataobj.cpp @@ -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 diff --git a/src/gtk1/dataobj.cpp b/src/gtk1/dataobj.cpp index f52cdb4a3d..b4341cc0e4 100644 --- a/src/gtk1/dataobj.cpp +++ b/src/gtk1/dataobj.cpp @@ -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 -- 2.45.2