#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
);
if (HasFlag(wxCLIP_SIBLINGS))
lSstyle |= WS_CLIPSIBLINGS;
- if (!OS2CreateControl( _T("BUTTON")
+ if (!OS2CreateControl( wxT("BUTTON")
,lSstyle
,rPos
,rSize
if (!bIsChecked )
SetValue(true);
}
- wxCommandEvent rEvent( wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
+ wxCommandEvent rEvent( wxEVT_RADIOBUTTON, m_windowId );
rEvent.SetEventObject(this);
ProcessCommand(rEvent);
}
const wxWindowList& rSiblings = GetParent()->GetChildren();
wxWindowList::compatibility_iterator nodeThis = rSiblings.Find(this);
- wxCHECK_RET(nodeThis, _T("radio button not a child of its parent?"));
+ wxCHECK_RET(nodeThis, wxT("radio button not a child of its parent?"));
//
// If it's not the first item of the group ...