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:
@@ -510,6 +510,9 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
|
|||||||
{
|
{
|
||||||
// A request to paste has occured.
|
// A request to paste has occured.
|
||||||
wxClipboardHandleSelectionRequest(*event);
|
wxClipboardHandleSelectionRequest(*event);
|
||||||
|
// The event handle doesn't care the clipboard
|
||||||
|
// how to response requestor, so just return true.
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
case DestroyNotify:
|
case DestroyNotify:
|
||||||
|
Reference in New Issue
Block a user