From 204d8a45368cea504fef980bb9c8fb017d2461dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Thu, 1 Oct 2020 05:01:53 +0200 Subject: [PATCH] Add missing wxRibbonMSWArtProvider::GetButtonBarButtonTextWidth interface The missing override in the interface makes the inherited classes abstract from the Phoenix SIP generators view. --- interface/wx/ribbon/art.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/wx/ribbon/art.h b/interface/wx/ribbon/art.h index 167f440c3a..d551f3466f 100644 --- a/interface/wx/ribbon/art.h +++ b/interface/wx/ribbon/art.h @@ -1251,6 +1251,12 @@ public: wxRect* normal_region, wxRect* dropdown_region); + wxCoord GetButtonBarButtonTextWidth( + wxDC& dc, + const wxString& label, + wxRibbonButtonKind kind, + wxRibbonButtonBarButtonState size); + wxSize GetMinimisedPanelMinimumSize( wxDC& dc, const wxRibbonPanel* wnd,