From 49de49497defa1536d0ff0f37b0f082908a5b2d0 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Sat, 7 Jun 2003 02:16:44 +0000 Subject: [PATCH] Added #if wxUSE_DATAOBJ guard around header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dataobj.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 27b38cd456..83207de611 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -19,8 +19,10 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- - #include "wx/defs.h" + +#if wxUSE_DATAOBJ + #include "wx/string.h" #include "wx/bitmap.h" #include "wx/list.h" @@ -479,4 +481,6 @@ private: }; #endif // __WXMSW__/!__WXMSW__ +#endif // wxUSE_DATAOBJ + #endif // _WX_DATAOBJ_H_BASE_ -- 2.45.2