X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..538f284a44001ff8285eaafebcc384bf638b5d66:/src/osx/carbon/statbmp.cpp diff --git a/src/osx/carbon/statbmp.cpp b/src/osx/carbon/statbmp.cpp index 1034298f46..51c59cb55c 100644 --- a/src/osx/carbon/statbmp.cpp +++ b/src/osx/carbon/statbmp.cpp @@ -66,7 +66,7 @@ void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) ) wxPaintDC dc(this); PrepareDC(dc); - if (m_bitmap.Ok()) + if (m_bitmap.IsOk()) { dc.DrawBitmap( m_bitmap , 0 , 0 , TRUE ) ; } @@ -74,7 +74,7 @@ void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) ) wxSize wxStaticBitmap::DoGetBestSize() const { - if ( m_bitmap.Ok() ) + if ( m_bitmap.IsOk() ) return DoGetSizeFromClientSize( wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) ); // this is completely arbitrary