X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..3287f62ad3bd6dfcc78a8fcef0ac44d9ece904af:/src/univ/button.cpp diff --git a/src/univ/button.cpp b/src/univ/button.cpp index 7f4c253d14..61203eab64 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 14.08.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -278,7 +277,7 @@ void wxButton::Toggle() void wxButton::Click() { - wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); + wxCommandEvent event(wxEVT_BUTTON, GetId()); InitCommandEvent(event); Command(event); }