listbox kbd handling buglet corrected (event.Skip() called even when no
selection) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1384,7 +1384,12 @@ void wxListMainWindow::OnChar( wxKeyEvent &event )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
if (!m_current) return;
|
if ( !m_current )
|
||||||
|
{
|
||||||
|
event.Skip();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (event.KeyCode())
|
switch (event.KeyCode())
|
||||||
{
|
{
|
||||||
case WXK_UP:
|
case WXK_UP:
|
||||||
|
Reference in New Issue
Block a user