From: Vadim Zeitlin Date: Tue, 7 Oct 2003 13:37:43 +0000 (+0000) Subject: fixed FixedSizeTabs() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d7787243db8b594beeb41079a421a0e7a7fb933d?ds=inline fixed FixedSizeTabs() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 54103d97eb..4c82009c99 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -94,8 +94,7 @@ public: // ----------- // return TRUE if all tabs have the same width - bool FixedSizeTabs() const - { return GetWindowStyle() & wxNB_FIXEDWIDTH != 0; } + bool FixedSizeTabs() const { return HasFlag(wxNB_FIXEDWIDTH); } // return wxTOP/wxBOTTOM/wxRIGHT/wxLEFT wxDirection GetTabOrientation() const;