X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fa99f045e39341d64b4ecffbaab6385d9982cee..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/aui/tabart.cpp diff --git a/src/aui/tabart.cpp b/src/aui/tabart.cpp index 62c6c5f9dd..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; @@ -610,6 +610,11 @@ int wxAuiGenericTabArt::GetBorderWidth(wxWindow* wnd) return 1; } +int wxAuiGenericTabArt::GetAdditionalBorderSpace(wxWindow* WXUNUSED(wnd)) +{ + return 0; +} + wxSize wxAuiGenericTabArt::GetTabSize(wxDC& dc, wxWindow* WXUNUSED(wnd), const wxString& caption, @@ -1137,6 +1142,11 @@ int wxAuiSimpleTabArt::GetBorderWidth(wxWindow* wnd) return 1; } +int wxAuiSimpleTabArt::GetAdditionalBorderSpace(wxWindow* WXUNUSED(wnd)) +{ + return 0; +} + wxSize wxAuiSimpleTabArt::GetTabSize(wxDC& dc, wxWindow* WXUNUSED(wnd), const wxString& caption,