]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/auibar.cpp
Fix wxEncodingConverter::Convert(wchar_t) documentation.
[wxWidgets.git] / src / aui / auibar.cpp
index fb62e3089436e8440d02f8db21179a7820bbb794..d9bb3046b4f268011a79b517ef8901aac82b2880 100644 (file)
@@ -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;