summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorflacs <tilkax@gmail.com>2015-06-05 19:53:24 +0200
committerflacs <tilkax@gmail.com>2015-06-05 19:53:24 +0200
commitb9821916dcc0368a8ad2bf2b223db1af6d334129 (patch)
tree7c9a783ad7a816f6cf42536844f338fe8797d9b0 /Source/Core/DolphinWX/Frame.cpp
parent175e0d19269955fa8cbd4638ec30a8047a3b8af7 (diff)
parent9ec5a4544f207a31678e6c5c7636873e9d9e88a1 (diff)
Merge pull request #2530 from Tilka/sdl_quit
SDL: handle SDL_QUIT event
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index 583275932c..5a7394a25e 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -778,6 +778,10 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
case IDM_STOPPED:
OnStopped();
break;
+
+ case WM_USER_QUIT:
+ Close(true);
+ break;
}
}