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:
Dimitri Schoolwerth
2011-08-23 02:18:41 +00:00
parent 34532177aa
commit f340c9ca88

View File

@@ -188,7 +188,7 @@ protected:
// return true if the tab has an associated image // return true if the tab has an associated image
bool HasImage(int page) const 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 // get the part of the notebook reserved for the pages (slightly larger
// than GetPageRect() as we draw a border and leave marginin between) // than GetPageRect() as we draw a border and leave marginin between)