#ifndef __TABGH_G__
#define __TABGH_G__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "tabg.h"
#endif
#include "wx/hash.h"
#include "wx/string.h"
#include "wx/dialog.h"
+#include "wx/panel.h"
class WXDLLEXPORT wxTabView;
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; }