]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed FixedSizeTabs()
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Oct 2003 13:37:43 +0000 (13:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Oct 2003 13:37:43 +0000 (13:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/notebook.h

index 54103d97ebb7055929c499cd4adce56392a8f0fa..4c82009c99910f743725bf7be37c34aed64ab5f6 100644 (file)
@@ -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;