Fix wxWindow::Update() under wxQt

Calling this function should immediately repaints the invalidated area of the window
which is the documented and expected behaviour.
This commit is contained in:
ali kettab 2023-10-01 18:47:11 +01:00
parent 098161c4de
commit d413402658

View file

@ -548,9 +548,9 @@ void wxWindowQt::Update()
// send the paint event to the inner widget in scroll areas:
if ( QtGetScrollBarsContainer() )
{
QtGetScrollBarsContainer()->viewport()->update();
QtGetScrollBarsContainer()->viewport()->repaint();
} else {
GetHandle()->update();
GetHandle()->repaint();
}
}