From 127df701da56bbae74356213a59b1522d0bc6aea Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 26 Apr 2020 00:02:53 -0400 Subject: [PATCH] Remove unnecessary wxPaintEvent from SPLIT_BUTTON --- common/widgets/split_button.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/widgets/split_button.cpp b/common/widgets/split_button.cpp index aa52aaf58f..fd77bc6d3e 100644 --- a/common/widgets/split_button.cpp +++ b/common/widgets/split_button.cpp @@ -247,8 +247,6 @@ bool SPLIT_BUTTON::Enable( bool aEnable ) m_stateMenu = wxCONTROL_DISABLED; } - wxPaintEvent event; - ProcessEvent( event ); Refresh(); return aEnable;