X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0c1857ea25058974e5a0dce2ef8cf5d9fbd6ac4..39191cbfdb6af2c0afabd98afa0802d0af9402e7:/src/stc/PlatWX.cpp diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index f1f180a762..9e69d2fcd5 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -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 }