[ 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:
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#include "wx/gauge.h"
|
#include "wx/gauge.h"
|
||||||
|
|
||||||
|
#if wxUSE_GAUGE
|
||||||
|
|
||||||
#if !USE_SHARED_LIBRARY
|
#if !USE_SHARED_LIBRARY
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
|
||||||
#endif
|
#endif
|
||||||
@@ -79,3 +81,5 @@ int wxGauge::GetValue() const
|
|||||||
return m_gaugePos ;
|
return m_gaugePos ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_GAUGE
|
||||||
|
|
||||||
|
@@ -1720,10 +1720,12 @@ wxSize wxWindowMac::DoGetBestSize() const
|
|||||||
{
|
{
|
||||||
bestsize.bottom = 16 ;
|
bestsize.bottom = 16 ;
|
||||||
}
|
}
|
||||||
|
#if wxUSE_SPINBTN
|
||||||
else if ( IsKindOf( CLASSINFO( wxSpinButton ) ) )
|
else if ( IsKindOf( CLASSINFO( wxSpinButton ) ) )
|
||||||
{
|
{
|
||||||
bestsize.bottom = 24 ;
|
bestsize.bottom = 24 ;
|
||||||
}
|
}
|
||||||
|
#endif // wxUSE_SPINBTN
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// return wxWindowBase::DoGetBestSize() ;
|
// return wxWindowBase::DoGetBestSize() ;
|
||||||
|
Reference in New Issue
Block a user