compilation fix for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2640,7 +2640,7 @@ void wxGenericTreeCtrl::OnChar( wxKeyEvent &event )
|
|||||||
if (!next)
|
if (!next)
|
||||||
{
|
{
|
||||||
wxTreeItemId current = m_key_current;
|
wxTreeItemId current = m_key_current;
|
||||||
while (current && !next)
|
while (current.IsOk() && !next)
|
||||||
{
|
{
|
||||||
current = GetItemParent( current );
|
current = GetItemParent( current );
|
||||||
if (current) next = GetNextSibling( current );
|
if (current) next = GetNextSibling( current );
|
||||||
|
Reference in New Issue
Block a user