Fix hint not clearing: InvalidateRect must request background erase (True) so the class brush repaints black
This commit is contained in:
1 parent
d6e83565c1
commit
0027ca57fc
1 file changed
+1
-1
+1
-1
@@ -259,7 +259,7 @@ if sys.platform == "win32":
|
||||
_hint_active = False
|
||||
user32.KillTimer(hwnd, 1)
|
||||
for h in _hwnds:
|
||||
user32.InvalidateRect(h, None, False)
|
||||
user32.InvalidateRect(h, None, True)
|
||||
return 0
|
||||
if msg in (WM_DESTROY, WM_CLOSE):
|
||||
user32.PostQuitMessage(0)
|
||||
|
||||
Reference in new issue
Block a user