]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rawbmp.h
Fix crash when editing wxDVC items in place in wxOSX/Cocoa.
[wxWidgets.git] / include / wx / rawbmp.h
index d636d586e5b86750605f05f58ba9b6d6e7a82dfd..0f25a78252918fd134ac7479d98b60de2b1f5443 100644 (file)
 #ifndef _WX_RAWBMP_H_
 #define _WX_RAWBMP_H_
 
+#include "wx/defs.h"
+
+#ifdef wxHAS_RAW_BITMAP
+
 #include "wx/image.h"
 #include "wx/bitmap.h"
 
@@ -749,4 +753,5 @@ struct wxPixelIterator : public wxPixelData<Image, PixelFormat>::Iterator
 {
 };
 
+#endif // wxHAS_RAW_BITMAP
 #endif // _WX_RAWBMP_H_