mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Respond to WM_CLOSE in the hidden window so that the installer can
kill us off nice and easily.
This commit is contained in:
@@ -71,6 +71,14 @@ void CNotifyIcon::Destroy()
|
||||
base::DestroyWindow();
|
||||
}
|
||||
|
||||
void CNotifyIcon::OnClose()
|
||||
{
|
||||
// The only time this should happen is if something else explicitly
|
||||
// sends us the message (such as the installer). We'll just
|
||||
// exit completely.
|
||||
GetApplication()->Exit();
|
||||
}
|
||||
|
||||
void CNotifyIcon::PopupBalloon(UINT title_id, UINT text_id, DWORD flags)
|
||||
{
|
||||
CString title, text;
|
||||
|
||||
Reference in New Issue
Block a user