m_nIndex = (size_t)nIndex;
}
- HWND hWndListbox = (HWND)m_pParent->GetHWND();
- RECTL rUpdate;
- MRESULT mRc;
wxCommandEvent vEvent( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
,m_pParent->GetId()
wxKeyEvent& rEvent
)
{
- if (rEvent.KeyCode() == WXK_SPACE)
+ if (rEvent.GetKeyCode() == WXK_SPACE)
GetItem(GetSelection())->Toggle();
else
rEvent.Skip();
,&nParentHeight
);
vDc.SetFont(GetFont());
- vHeight = vDc.GetCharHeight() * 2.5;
+ vHeight = (wxCoord)(vDc.GetCharHeight() * 2.5);
//
// This, of course, will not work if the LB is scrolled