X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e30d94eff7dca642729cb2f557650e8f2ebc61f..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/aui/tabart.cpp diff --git a/src/aui/tabart.cpp b/src/aui/tabart.cpp index 9a30baf76c..35026065ec 100644 --- a/src/aui/tabart.cpp +++ b/src/aui/tabart.cpp @@ -50,7 +50,7 @@ public: bool ProcessEvent(wxEvent& evt) { - if (evt.GetEventType() == wxEVT_COMMAND_MENU_SELECTED) + if (evt.GetEventType() == wxEVT_MENU) { m_lastId = evt.GetId(); return true;