X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/174f2229cdb37772606a38a09523cdd7d091d988..42b1fb630d94b919d455c1f0f2212bc6bcc04d46:/src/gtk1/dataobj.cpp 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