/////////////////////////////////////////////////////////////////////////////
-// Name: univ/tglbtn.cpp
+// Name: src/univ/tglbtn.cpp
// Purpose: wxToggleButton
// Author: Vadim Zeitlin
// Modified by: David Bjorkevik
#include "wx/tglbtn.h"
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent );
IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxButton)