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-14 17:58:53 +01:00
parent 098161c4de
commit d413402658
+2 -2
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();
}
}