}
else
{
- options = lOnlyOne ;
+ options = (OptionBits) lOnlyOne ;
}
SetListSelectionFlags((ListHandle)m_macList, options);
void wxCheckListBox::OnChar(wxKeyEvent& event)
{
- if ( event.KeyCode() == WXK_SPACE )
+ if ( event.GetKeyCode() == WXK_SPACE )
{
int index = GetSelection() ;
if ( index >= 0 )