// implementation
// ============================================================================
+IMPLEMENT_ABSTRACT_CLASS(wxVListBox, wxVScrolledWindow)
+
// ----------------------------------------------------------------------------
// wxVListBox creation
// ----------------------------------------------------------------------------
// flags for DoHandleItemClick()
int flags = ItemClick_Kbd;
- int current = 0; // just to silent the stupid compiler warnings
+ int current;
switch ( event.GetKeyCode() )
{
case WXK_HOME:
default:
event.Skip();
+ current = 0; // just to silent the stupid compiler warnings
+ wxUnusedVar(current);
return;
}