X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd7bd09eb3921fd928ca6b459dac01a1df6a4e06..1c54c4ed04e221024135f2b41417f144634eca8a:/src/generic/listbkg.cpp 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) ) {