X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7787243db8b594beeb41079a421a0e7a7fb933d..6a8b0d458663e48152afcf6576a057f5b8ab8be3:/include/wx/univ/notebook.h diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 4c82009c99..c3639ea1af 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -87,19 +87,19 @@ public: virtual bool InsertPage(size_t nPage, wxNotebookPage *pPage, const wxString& strText, - bool bSelect = FALSE, + bool bSelect = false, int imageId = -1); // style tests // ----------- - // return TRUE if all tabs have the same width + // return true if all tabs have the same width bool FixedSizeTabs() const { return HasFlag(wxNB_FIXEDWIDTH); } // return wxTOP/wxBOTTOM/wxRIGHT/wxLEFT wxDirection GetTabOrientation() const; - // return TRUE if the notebook has tabs at the sidesand not at the top (or + // return true if the notebook has tabs at the sidesand not at the top (or // bottom) as usual bool IsVertical() const; @@ -155,7 +155,7 @@ protected: void PositionSpinBtn(); // refresh the given tab only - void RefreshTab(int page, bool forceSelected = FALSE); + void RefreshTab(int page, bool forceSelected = false); // refresh all tabs void RefreshAllTabs(); @@ -180,7 +180,7 @@ protected: wxCoord GetTabWidth(int page) const { return FixedSizeTabs() ? m_widthMax : m_widths[page]; } - // return TRUE if the tab has an associated image + // return true if the tab has an associated image bool HasImage(int page) const { return m_imageList && m_images[page] != -1; }