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:
parent
098161c4de
commit
d413402658
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue