// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-
#define MIN_WIDTH 78
#define MIN_LARGE_HEIGHT 30
return;
wxButton *item = (wxButton *) clientData;
- wxCommandEvent event (wxEVT_COMMAND_BUTTON_CLICKED, item->GetId());
+ wxCommandEvent event (wxEVT_BUTTON, item->GetId());
event.SetEventObject(item);
item->ProcessCommand (event);
}