bool wxCheckBox::MSWCommand(WXUINT WXUNUSED(param), WXWORD WXUNUSED(id))
{
- wxCommandEvent event(wxEVENT_TYPE_CHECKBOX_COMMAND, m_windowId);
+ wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId);
event.SetInt(GetValue());
event.SetEventObject(this);
ProcessCommand(event);
// Even with extended styles, need to combine with WS_BORDER
// for them to look right.
+/*
if ( want3D || wxStyleHasBorder(m_windowStyle) )
msStyle |= WS_BORDER;
+*/
m_hWnd = (WXHWND)CreateWindowEx(exStyle, "BUTTON", Label,
msStyle,