X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9de49b112f4d1c87f818ab9c62331dbb81f23937..0a6ec346d56158e98ee91e2661821940a825e899:/include/wx/propgrid/props.h?ds=inline diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index 5d5528e44a..99c279f7a8 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -838,7 +838,7 @@ PROPNAME::~PROPNAME() { } \ bool PROPNAME::OnEvent( wxPropertyGrid* propgrid, \ wxWindow* primary, wxEvent& event ) \ { \ - if ( event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED ) \ + if ( event.GetEventType() == wxEVT_BUTTON ) \ return OnButtonClick(propgrid,primary,(const wxChar*) CUSTBUTTXT); \ return false; \ }