compilation fix for case that wxHAS_RAW_BITMAP is NOT defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1323,8 +1323,10 @@ void ListBoxImpl::RegisterImage(int type, const char *xpm_data) {
|
|||||||
void ListBoxImpl::RegisterRGBAImage(int type, int width, int height,
|
void ListBoxImpl::RegisterRGBAImage(int type, int width, int height,
|
||||||
const unsigned char *pixelsImage)
|
const unsigned char *pixelsImage)
|
||||||
{
|
{
|
||||||
|
#ifdef wxHAS_RAW_BITMAP
|
||||||
wxBitmap bmp = BitmapFromRGBAImage(width, height, pixelsImage);
|
wxBitmap bmp = BitmapFromRGBAImage(width, height, pixelsImage);
|
||||||
RegisterImageHelper(type, bmp);
|
RegisterImageHelper(type, bmp);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user