X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71929371c279271afe7f232f58d3d074b2e4fb68..13b4df952c77383f50696e51fcbaa2d8bbd3b3b9:/src/aui/auibar.cpp?ds=sidebyside diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index fb62e30894..d9bb3046b4 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -2150,7 +2150,7 @@ void wxAuiToolBar::DoIdleUpdate() { bool is_enabled; if (item.m_window) - is_enabled = item.m_window->IsEnabled(); + is_enabled = item.m_window->IsThisEnabled(); else is_enabled = (item.m_state & wxAUI_BUTTON_STATE_DISABLED) ? false : true;