// macros
// ----------------------------------------------------------------------------
-wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent )
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent );
// ============================================================================
// implementation
EVT_MOUSE_EVENTS(wxBitmapToggleButton::OnMouse)
EVT_CHAR(wxBitmapToggleButton::OnChar)
EVT_SIZE(wxBitmapToggleButton::OnSize)
-END_EVENT_TABLE();
+END_EVENT_TABLE()
void wxBitmapToggleButton::Init()
{
WXDWORD msStyle = MSWGetStyle(style, &exstyle);
msStyle |= wxMSWButton::GetMultilineStyle(label);
- return MSWCreateControl(_T("BUTTON"), msStyle, pos, size, label, exstyle);
+ return MSWCreateControl(wxT("BUTTON"), msStyle, pos, size, label, exstyle);
}
WXDWORD wxToggleButton::MSWGetStyle(long style, WXDWORD *exstyle) const