[ 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:
parent
24d2b4f5ba
commit
e3e817d4ac
@ -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
|
||||
|
||||
|
@ -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() ;
|
||||
|
Loading…
Reference in New Issue
Block a user