add return to a case statment, make sure it is not fall through to other statment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-09-23 17:44:14 +00:00
parent 116d57e850
commit fc3b0de9cc

View File

@@ -508,8 +508,11 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
}
case SelectionRequest:
{
//A request to paste has occured.
// A request to paste has occured.
wxClipboardHandleSelectionRequest(*event);
// The event handle doesn't care the clipboard
// how to response requestor, so just return true.
return true;
}
#if 0
case DestroyNotify: