X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..refs/heads/master:/src/univ/toolbar.cpp diff --git a/src/univ/toolbar.cpp b/src/univ/toolbar.cpp index 44c188fba3..99ac239271 100644 --- a/src/univ/toolbar.cpp +++ b/src/univ/toolbar.cpp @@ -4,7 +4,6 @@ // Author: Robert Roebling, Vadim Zeitlin (universalization) // Modified by: // Created: 20.02.02 -// Id: $Id$ // Copyright: (c) 2001 Robert Roebling, // (c) 2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence @@ -292,7 +291,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());