]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/toolbar.cpp
Use the data scheme to load resources in the WebKitGTK+ implementation, rather than...
[wxWidgets.git] / src / univ / toolbar.cpp
index 44c188fba3711c97394b28ef6e9a7fc789bda4b7..da03781e9c06d6d37a9341225c66bdce9fc7dd03 100644 (file)
@@ -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());