From d7787243db8b594beeb41079a421a0e7a7fb933d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Oct 2003 13:37:43 +0000 Subject: [PATCH] fixed FixedSizeTabs() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/notebook.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.47.2