[ 1057587 ] MacOSX build fails with --disable-gauge or --disable-spinbtn

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2004-11-07 01:03:08 +00:00
parent 24d2b4f5ba
commit e3e817d4ac
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#include "wx/gauge.h"
#if wxUSE_GAUGE
#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
#endif
@ -79,3 +81,5 @@ int wxGauge::GetValue() const
return m_gaugePos ;
}
#endif // wxUSE_GAUGE

View File

@ -1720,10 +1720,12 @@ wxSize wxWindowMac::DoGetBestSize() const
{
bestsize.bottom = 16 ;
}
#if wxUSE_SPINBTN
else if ( IsKindOf( CLASSINFO( wxSpinButton ) ) )
{
bestsize.bottom = 24 ;
}
#endif // wxUSE_SPINBTN
else
{
// return wxWindowBase::DoGetBestSize() ;