X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1871b9facb9435e636f1ce355fd31a0594438d01..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/univ/notebook.h diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index cf982afe6c..bbc4250be9 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -130,7 +130,6 @@ protected: void DoDrawTab(wxDC& dc, const wxRect& rect, size_t n); // resizing - virtual wxSize DoGetBestClientSize() const; virtual void DoMoveWindow(int x, int y, int width, int height); virtual void DoSetSize(int x, int y, int width, int height, @@ -188,7 +187,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)