From: Vadim Zeitlin Date: Mon, 24 Jul 2006 18:30:43 +0000 (+0000) Subject: fixed typos in last check in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/be085544e922ffca50242795d03a986853125af2?ds=inline fixed typos in last check in git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 2ebb0d6c30..584ecdc293 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -3437,7 +3437,7 @@ void wxGenericTreeCtrl::RefreshLine( wxGenericTreeItem *item ) void wxGenericTreeCtrl::RefreshSelected() { - if (m_freezeCount || m_freezeCount) + if (m_freezeCount) return; // TODO: this is awfully inefficient, we should keep the list of all @@ -3448,7 +3448,7 @@ void wxGenericTreeCtrl::RefreshSelected() void wxGenericTreeCtrl::RefreshSelectedUnder(wxGenericTreeItem *item) { - if (m_freezeCount || m_freezeCount) + if (m_freezeCount) return; if ( item->IsSelected() )