X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1871b9facb9435e636f1ce355fd31a0594438d01..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/univ/notebook.h?ds=sidebyside 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)