X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03fc89fff2d6e823e7d4d14fbe14822ad6777b1..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index c78b18a470..047cd38779 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -12,7 +12,7 @@ #ifndef __TABGH_G__ #define __TABGH_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "tabg.h" #endif @@ -21,6 +21,7 @@ #include "wx/hash.h" #include "wx/string.h" #include "wx/dialog.h" +#include "wx/panel.h" class WXDLLEXPORT wxTabView; @@ -102,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; }