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;