X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ca0d8122ab2ecbce178aa9f21f13270c4ffaca0..8da1f9a99ee0ff9493cc7845ec13100cdeac431c:/src/mac/carbon/gauge.cpp?ds=sidebyside diff --git a/src/mac/carbon/gauge.cpp b/src/mac/carbon/gauge.cpp index da6aa40dc0..6e9ed032f2 100644 --- a/src/mac/carbon/gauge.cpp +++ b/src/mac/carbon/gauge.cpp @@ -15,6 +15,8 @@ #include "wx/gauge.h" +#if wxUSE_GAUGE + #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) #endif @@ -36,7 +38,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, wxSize size = s ; /* - if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y) + if ( size.x == wxDefaultCoord && size.y == wxDefaultCoord) { size = wxSize( 200 , 16 ) ; } @@ -79,3 +81,5 @@ int wxGauge::GetValue() const return m_gaugePos ; } +#endif // wxUSE_GAUGE +