X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd7bd09eb3921fd928ca6b459dac01a1df6a4e06..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/generic/listbkg.cpp?ds=sidebyside diff --git a/src/generic/listbkg.cpp b/src/generic/listbkg.cpp index 96eed8b955..e7dd71235d 100644 --- a/src/generic/listbkg.cpp +++ b/src/generic/listbkg.cpp @@ -298,9 +298,9 @@ bool wxListbook::SetPageImage(size_t n, int imageId) void wxListbook::SetImageList(wxImageList *imageList) { +#ifdef CAN_USE_REPORT_VIEW wxListView * const list = GetListView(); -#ifdef CAN_USE_REPORT_VIEW // If imageList presence has changed, we update the list control view if ( (imageList != NULL) != (GetImageList() != NULL) ) {