X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc927c9a8c67410637ac036efea53bcac44e9a12..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/generic/hyperlinkg.cpp diff --git a/src/generic/hyperlinkg.cpp b/src/generic/hyperlinkg.cpp index 257e6ef67f..eb8485955d 100644 --- a/src/generic/hyperlinkg.cpp +++ b/src/generic/hyperlinkg.cpp @@ -4,7 +4,6 @@ // Author: David Norris <danorris@gmail.com>, Otto Wyss // Modified by: Ryan Norton, Francesco Montorsi // Created: 04/02/2005 -// RCS-ID: $Id$ // Copyright: (c) 2005 David Norris // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -120,7 +119,7 @@ void wxGenericHyperlinkCtrl::ConnectMenuHandlers() { // Connect the event handlers for the context menu. Connect( wxEVT_RIGHT_UP, wxMouseEventHandler(wxGenericHyperlinkCtrl::OnRightUp) ); - Connect( wxHYPERLINK_POPUP_COPY_ID, wxEVT_COMMAND_MENU_SELECTED, + Connect( wxHYPERLINK_POPUP_COPY_ID, wxEVT_MENU, wxCommandEventHandler(wxGenericHyperlinkCtrl::OnPopUpCopy) ); }