From 0b51dfe134e3253bf983c59cfdfaa9567ddf7fb2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 13 Nov 2021 23:05:40 +0000 Subject: [PATCH] Remove useless wxAuiMSWTabArt::SetSizingInfo() override No need to have a function which just calls the base class version. --- include/wx/aui/tabartmsw.h | 2 -- src/aui/tabartmsw.cpp | 7 ------- 2 files changed, 9 deletions(-) diff --git a/include/wx/aui/tabartmsw.h b/include/wx/aui/tabartmsw.h index 41a47b267f..fd807a5688 100644 --- a/include/wx/aui/tabartmsw.h +++ b/include/wx/aui/tabartmsw.h @@ -19,8 +19,6 @@ public: virtual ~wxAuiMSWTabArt(); wxAuiTabArt* Clone() wxOVERRIDE; - void SetSizingInfo(const wxSize& tabCtrlSize, - size_t tabCount) wxOVERRIDE; void DrawBorder( wxDC& dc, diff --git a/src/aui/tabartmsw.cpp b/src/aui/tabartmsw.cpp index 0c59baa71d..d2f0b5733d 100644 --- a/src/aui/tabartmsw.cpp +++ b/src/aui/tabartmsw.cpp @@ -39,13 +39,6 @@ wxAuiTabArt* wxAuiMSWTabArt::Clone() return new wxAuiMSWTabArt(*this); } -void wxAuiMSWTabArt::SetSizingInfo(const wxSize& tab_ctrl_size, - size_t tab_count) -{ - wxAuiGenericTabArt::SetSizingInfo(tab_ctrl_size, tab_count); -} - - void wxAuiMSWTabArt::DrawBorder(wxDC& dc, wxWindow* wnd, const wxRect& rect) { if ( !IsThemed() )