Windows notifications: Correct WM_DESTROY return value (#863)

Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
This commit is contained in:
Nathan Rennie-Waldock 2023-04-20 14:23:05 +01:00 committed by GitHub
parent 76d44a3179
commit 9b4d3450eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ class NotifyWindows(NotifyBase):
win32gui.Shell_NotifyIcon(win32gui.NIM_DELETE, nid)
win32api.PostQuitMessage(0)
return None
return 0
def send(self, body, title='', notify_type=NotifyType.INFO, **kwargs):
"""