// ----------------------------------------------------------------------------
bool wxHIDDevice::HasElement(int nIndex)
{
- return m_pCookies[nIndex] != NULL;
+ return (void*) m_pCookies[nIndex] != NULL;
}
// ----------------------------------------------------------------------------
{
for(size_t i = 0; i < sm_keyboards.GetCount(); ++i)
delete (wxHIDKeyboard*) sm_keyboards[i];
+ sm_keyboards.Clear();
}
};