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:
parent
95bf8d1b76
commit
117f3eaaa7
1 changed files with 2 additions and 0 deletions
|
|
@ -1323,8 +1323,10 @@ void ListBoxImpl::RegisterImage(int type, const char *xpm_data) {
|
|||
void ListBoxImpl::RegisterRGBAImage(int type, int width, int height,
|
||||
const unsigned char *pixelsImage)
|
||||
{
|
||||
#ifdef wxHAS_RAW_BITMAP
|
||||
wxBitmap bmp = BitmapFromRGBAImage(width, height, pixelsImage);
|
||||
RegisterImageHelper(type, bmp);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue