X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..51ec29ea5d1d1093bafbae27a8483211a90d9659:/src/univ/toolbar.cpp diff --git a/src/univ/toolbar.cpp b/src/univ/toolbar.cpp index 44c188fba3..da03781e9c 100644 --- a/src/univ/toolbar.cpp +++ b/src/univ/toolbar.cpp @@ -292,7 +292,7 @@ void wxToolBar::DoEnableTool(wxToolBarToolBase *tool, bool enable) { #if wxUSE_IMAGE // created disabled-state bitmap on demand - if ( !enable && !tool->GetDisabledBitmap().Ok() ) + if ( !enable && !tool->GetDisabledBitmap().IsOk() ) { wxImage image(tool->GetNormalBitmap().ConvertToImage());