define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,5 +84,14 @@
|
||||
#undef wxHAS_XLOCALE_SUPPORT
|
||||
#endif
|
||||
|
||||
/* Direct access to bitmap data is only implemented for MSW/Mac/GTK2 */
|
||||
#if defined(__WXGTK20__) || defined(__WXMAC__) || \
|
||||
(defined(__WXMSW__) && !defined(__WATCOMC__))
|
||||
#define wxHAS_RAW_BITMAP
|
||||
#endif
|
||||
|
||||
/* deprecated synonym which exists for compatibility only */
|
||||
#define wxHAVE_RAW_BITMAP wxHAS_RAW_BITMAP
|
||||
|
||||
#endif /* _WX_FEATURES_H_ */
|
||||
|
||||
|
@@ -612,15 +612,6 @@
|
||||
#define wxCHECK_SUNCC_VERSION(maj, min) (0)
|
||||
#endif
|
||||
|
||||
#if defined (__WXMSW__)
|
||||
# if !defined(__WATCOMC__)
|
||||
# define wxHAVE_RAW_BITMAP
|
||||
# endif
|
||||
#endif
|
||||
#if defined(__WXGTK20__) || defined(__WXMAC__)
|
||||
# define wxHAVE_RAW_BITMAP
|
||||
#endif
|
||||
|
||||
/*
|
||||
Handle Darwin gcc universal compilation. Don't do this in an Apple-
|
||||
specific case since no sane compiler should be defining either
|
||||
|
Reference in New Issue
Block a user