// Author: Francesco Montorsi (readapted code written by Vadim Zeitlin)
// Modified by:
// Created: 15/04/2006
-// RCS-ID: $Id$
// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
}
// and handle user clicks on it
- Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED,
+ Connect(GetId(), wxEVT_BUTTON,
wxCommandEventHandler(wxGenericColourButton::OnButtonClick),
NULL, this);
void wxGenericColourButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev))
{
- // update the wxColouData to be shown in the the dialog
+ // update the wxColouData to be shown in the dialog
ms_data.SetColour(m_colour);
// create the colour dialog and display it