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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user