]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/containr.cpp
made wxTextFile work in Unicode; also made it possible to use it with non seekable...
[wxWidgets.git] / src / common / containr.cpp
index 6146b45ac6ebd9cea626f27099fac1d2ab714bfa..185f8098d9f3430adf14a3fa374c75e95fda34bb 100644 (file)
@@ -369,7 +369,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
     for ( ;; )
     {
         // don't go into infinite loop
-        if ( start_node && node == start_node )
+        if ( start_node && node && node == start_node )
             break;
 
         // Have we come to the last or first item on the panel?