From d413402658d5a6189a6e36ea9ca302fccd0da0fe Mon Sep 17 00:00:00 2001 From: ali kettab Date: Sun, 1 Oct 2023 18:47:11 +0100 Subject: [PATCH] Fix wxWindow::Update() under wxQt Calling this function should immediately repaints the invalidated area of the window which is the documented and expected behaviour. --- src/qt/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/window.cpp b/src/qt/window.cpp index cbdde20830..12bcf2cfc0 100644 --- a/src/qt/window.cpp +++ b/src/qt/window.cpp @@ -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(); } }