From 173ecd77c4280e48541c33bdfe499985852935ba Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 Feb 2016 16:12:53 +0100 Subject: [PATCH] Fix clang -Winconsistent-missing-override in wxTextCtrl Add missing wxOVERRIDE for OnDynamicBind(). --- include/wx/textctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index cd7a815a6e..341409530e 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -746,7 +746,7 @@ protected: // Override wxEvtHandler method to check for a common problem of binding // wxEVT_TEXT_ENTER to a control without wxTE_PROCESS_ENTER style, which is // never going to work. - virtual bool OnDynamicBind(wxDynamicEventTableEntry& entry); + virtual bool OnDynamicBind(wxDynamicEventTableEntry& entry) wxOVERRIDE; // override streambuf method #if wxHAS_TEXT_WINDOW_STREAM