X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/798a4529fe37bfd1864b4ed350e7de603bd40f2b..e4b712e2455dfc6e5303c428119b435d8d6182ed:/include/wx/generic/tabg.h?ds=sidebyside diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 0d1bc89a09..047cd38779 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -103,7 +103,7 @@ public: wxTabView(long style = wxTAB_STYLE_DRAW_BOX | wxTAB_STYLE_COLOUR_INTERIOR); ~wxTabView(); - inline int GetNumberOfLayers() const { return m_layers.Number(); } + inline int GetNumberOfLayers() const { return m_layers.GetCount(); } inline wxList& GetLayers() { return m_layers; } inline void SetWindow(wxWindow* wnd) { m_window = wnd; }