don't compare invalid iterators/node pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -369,7 +369,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
|
|||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
// don't go into infinite loop
|
// don't go into infinite loop
|
||||||
if ( start_node && node == start_node )
|
if ( start_node && node && node == start_node )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Have we come to the last or first item on the panel?
|
// Have we come to the last or first item on the panel?
|
||||||
|
Reference in New Issue
Block a user