From 23f3f8c2acf7f955c1c9462f5bf23694ed79dc3f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 1 Jun 2008 20:17:04 +0000 Subject: [PATCH] correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/features.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/wx/features.h b/include/wx/features.h index 9dc0e83b03..6f2fe7cf18 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -90,8 +90,10 @@ #define wxHAS_RAW_BITMAP #endif -/* deprecated synonym which exists for compatibility only */ -#define wxHAVE_RAW_BITMAP wxHAS_RAW_BITMAP +/* also define deprecated synonym which exists for compatibility only */ +#ifdef wxHAS_RAW_BITMAP + #define wxHAVE_RAW_BITMAP +#endif #endif /* _WX_FEATURES_H_ */ -- 2.50.0