From f340c9ca881e8c441dceb500a1ea824325439e90 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Tue, 23 Aug 2011 02:18:41 +0000 Subject: [PATCH] Fixed compilation of sources that make use of wx/univ/notebook.h. wxUniv's wxNotebook was accessing m_imageList which now is a private in wxWithImages since r68809. Fixed by using wxWithImages::HasImageList. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/notebook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index cf982afe6c..81fa7bf3a0 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -188,7 +188,7 @@ protected: // return true if the tab has an associated image bool HasImage(int page) const - { return m_imageList && m_images[page] != -1; } + { return HasImageList() && m_images[page] != -1; } // get the part of the notebook reserved for the pages (slightly larger // than GetPageRect() as we draw a border and leave marginin between) -- 2.50.0