From 1ab3bacfc12baaa4307f2902568fdc671a0be5a7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 12 Dec 2024 20:33:46 +0100 Subject: [PATCH] Remove redundant wxMarkupText::SetMarkup() This does the same thing as the function inherited from the base class, so just remove it. --- include/wx/generic/private/markuptext.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/wx/generic/private/markuptext.h b/include/wx/generic/private/markuptext.h index 0fe10978f4..d4fa61f3f0 100644 --- a/include/wx/generic/private/markuptext.h +++ b/include/wx/generic/private/markuptext.h @@ -81,11 +81,6 @@ public: // Default copy ctor, assignment operator and dtor are ok. - // Update the markup string. - // - // The same rules for mnemonics as in the ctor apply to this string. - void SetMarkup(const wxString& markup) { m_markup = markup; } - // Render the markup string into the given DC in the specified rectangle. // // Notice that while the function uses the provided rectangle for alignment