diff --git a/src/Dialogs.c b/src/Dialogs.c index 4468d94a2..ad3a36e0f 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -85,6 +85,7 @@ static LRESULT CALLBACK CenterInParentHook(INT nCode, WPARAM wParam, LPARAM lPar } CenterDlgInParent(hChildWnd, hParentWnd); PostMessage(hChildWnd, WM_SETFOCUS, 0, 0); + PostMessage(hChildWnd, WM_PAINT, 0, 0); } } // continue with any possible chained hooks