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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user