On windows, ignore WM_QUERYENDSESSION and close upon WM_ENDSESSION.

The messages can come through CFrame::MSWWindowProc and the wxApp implementation, so make sure to catch both.
Fixes issue 6546.
This commit is contained in:
Shawn Hoffman
2013-09-10 03:14:21 -07:00
parent 2d492bdc4f
commit 484130049d
3 changed files with 27 additions and 0 deletions

View File

@ -33,6 +33,7 @@ private:
wxLocale *m_locale;
void AfterInit(wxTimerEvent& WXUNUSED(event));
void OnEndSession(wxCloseEvent& event);
};
DECLARE_APP(DolphinApp);