Double buffer the info panel

Fix #6721
This commit is contained in:
Marek Roszko 2020-12-13 13:14:12 -05:00
parent 2d4a4f9d41
commit 8b843d023c
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxWindowID aWinid )
SetShowHideEffects( wxSHOW_EFFECT_ROLL_TO_BOTTOM, wxSHOW_EFFECT_ROLL_TO_TOP );
SetEffectDuration( 300 );
// Prevent draw flicker observed on windows
SetDoubleBuffered( true );
// The infobar seems to start too small, so increase its height
int sx, sy;
GetSize( &sx, &sy );