mirror of https://github.com/BOINC/boinc.git
Fixes window close action on Linux
This commit is contained in:
parent
18aa95e084
commit
581a051ab1
|
@ -330,9 +330,8 @@ void CBOINCBaseFrame::OnClose(wxCloseEvent& event) {
|
||||||
Destroy();
|
Destroy();
|
||||||
} else {
|
} else {
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
// Apparently aborting a close event just causes the main window to be displayed
|
wxGetApp().FrameClosed();
|
||||||
// again. Just minimize the window instead.
|
Destroy();
|
||||||
Iconize();
|
|
||||||
#else
|
#else
|
||||||
Hide();
|
Hide();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue