From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sun, 1 Jun 2008 20:17:04 +0000 (+0000)
Subject: correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if... 
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23f3f8c2acf7f955c1c9462f5bf23694ed79dc3f?hp=ddb57e45571e9a0a09503908184aac5d19bc6a7a

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
---

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_ */