]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/notebook.h
workaround for BCC bug - use #defines instead of enums
[wxWidgets.git] / 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;