mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-23 14:45:04 +08:00
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:
+2
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user