#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
This commit is contained in:
Mart Raudsepp
2005-07-25 19:40:46 +00:00
parent f02fe2efc8
commit 14631f7fa5
2 changed files with 8 additions and 2 deletions

View 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

View 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