X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/489468feaa08b8f504735eecca522fb8d0f825d2..fe2fa280414bbb42ecd32d7c24ab8073e4182969:/src/osx/carbon/gauge.cpp diff --git a/src/osx/carbon/gauge.cpp b/src/osx/carbon/gauge.cpp index b2f36abe95..d0fcd56142 100644 --- a/src/osx/carbon/gauge.cpp +++ b/src/osx/carbon/gauge.cpp @@ -17,7 +17,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) -#include "wx/mac/uma.h" +#include "wx/osx/uma.h" bool wxGauge::Create( wxWindow *parent, wxWindowID id, @@ -60,7 +60,7 @@ void wxGauge::SetRange(int r) // we are going via the base class in case there is // some change behind the values by it wxGaugeBase::SetRange( r ) ; - if ( m_peer && m_peer->Ok() ){ + if ( m_peer && m_peer->IsOk() ){ // switch back to determinate mode if not there already if ( m_peer->GetData( kControlNoPart, kControlProgressBarIndeterminateTag ) != false ) { @@ -77,7 +77,7 @@ void wxGauge::SetValue(int pos) // some change behind the values by it wxGaugeBase::SetValue( pos ) ; - if ( m_peer && m_peer->Ok() ) + if ( m_peer && m_peer->IsOk() ) { // switch back to determinate mode if not there already if ( m_peer->GetData( kControlNoPart, kControlProgressBarIndeterminateTag ) != false ) @@ -110,7 +110,7 @@ int wxGauge::GetValue() const void wxGauge::Pulse() { - if ( m_peer && m_peer->Ok() ) + if ( m_peer && m_peer->IsOk() ) { if ( m_peer->GetData( kControlNoPart, kControlProgressBarIndeterminateTag ) != true ) {