Remove unnecessary wxPaintEvent from SPLIT_BUTTON
This commit is contained in:
parent
1a8082c6d6
commit
127df701da
|
@ -247,8 +247,6 @@ bool SPLIT_BUTTON::Enable( bool aEnable )
|
||||||
m_stateMenu = wxCONTROL_DISABLED;
|
m_stateMenu = wxCONTROL_DISABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxPaintEvent event;
|
|
||||||
ProcessEvent( event );
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
||||||
return aEnable;
|
return aEnable;
|
||||||
|
|
Loading…
Reference in New Issue