diff --git a/Plugin/ConsoleLexer.cpp b/Plugin/ConsoleLexer.cpp index 7c9f58f9af..547ebe59ad 100644 --- a/Plugin/ConsoleLexer.cpp +++ b/Plugin/ConsoleLexer.cpp @@ -51,7 +51,7 @@ ConsoleLexer::ConsoleLexer(wxStyledTextCtrl* stc) CallAfter(&ConsoleLexer::SetStyles); } -ConsoleLexer::~ConsoleLexer() { m_stc->Unbind(wxEVT_STC_STYLENEEDED, &ConsoleLexer::OnStyleNeeded, this); } +ConsoleLexer::~ConsoleLexer() {} /// Apply the lexer's "terminal" styles for this instance managed wxSTC void ConsoleLexer::SetStyles()