From: Jouk Jansen Date: Tue, 28 Aug 2012 05:57:14 +0000 (+0000) Subject: compilation fix for case that wxHAS_RAW_BITMAP is NOT defined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/117f3eaaa78731c3b0dd87b96030e81bf451f921?ds=inline 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 --- 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 }