X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..f32204b0c4c4cc5069ff41088dcbb5bc23a85b34:/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());