comctl32: hotkey control needs to invalidate itself when painting for some apps
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jun 18 13:41:45 CDT 2012
Dan Kegel <dank at kegel.com> wrote:
> @@ -190,6 +190,8 @@ HOTKEY_Paint(HOTKEY_INFO *infoPtr, HDC hdc)
> HOTKEY_Refresh(infoPtr, hdc);
> else {
> PAINTSTRUCT ps;
> + /* In some apps, the hotkey doesn't draw unless we invalidate it here */
> + InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
It doesn't make sense to invalidate before painting in the paint
handler.
--
Dmitry.
More information about the wine-devel
mailing list