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:
@@ -18,6 +18,8 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifdef wxHAS_RAW_BITMAP
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
@@ -82,3 +84,5 @@ void ImageRawTestCase::RGBImage()
|
||||
ASSERT_COL_EQUAL( 0, image.GetGreen(0, 1) );
|
||||
ASSERT_COL_EQUAL( 0, image.GetGreen(1, 0) );
|
||||
}
|
||||
|
||||
#endif // wxHAS_RAW_BITMAP
|
||||
|
Reference in New Issue
Block a user