X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f1dee6b0dd1fe468011a64ec1af6eba720902fb..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/univ/notebook.h?ds=sidebyside diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 7fa65423be..bbc4250be9 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -86,7 +86,7 @@ public: wxNotebookPage *pPage, const wxString& strText, bool bSelect = false, - int imageId = -1); + int imageId = NO_IMAGE); // style tests // ----------- @@ -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)