X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35f8ae65726bbb0c56815da0695045588e1551ea..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/propgrid/propgrid.h diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index 96bd76b787..9b12b2eb71 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -4,7 +4,6 @@ // Author: Jaakko Salli // Modified by: // Created: 2004-09-25 -// RCS-ID: $Id$ // Copyright: (c) Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -1609,7 +1608,7 @@ public: */ bool IsMainButtonEvent( const wxEvent& event ) { - return (event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED) + return (event.GetEventType() == wxEVT_BUTTON) && (m_wndSecId == event.GetId()); }