/////////////////////////////////////////////////////////////////////////////
-// Name: tabctrl.cpp
+// Name: src/mac/carbon/tabctrl.cpp
// Purpose: wxTabCtrl
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
-#include "wx/control.h"
+#if wxUSE_TAB_DIALOG
+
#include "wx/tabctrl.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/control.h"
+#endif
+
#include "wx/mac/uma.h"
IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl)
tabsize = kControlTabSizeSmall ;
else if ( GetWindowVariant() == wxWINDOW_VARIANT_MINI )
{
- if (UMAGetSystemVersion() >= 0x1030 )
- tabsize = 3 ;
- else
- tabsize = kControlSizeSmall;
+ tabsize = 3 ;
}
m_peer = new wxMacControl( this );
// TODO:
}
+#endif // wxUSE_TAB_DIALOG