]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
DT_WORD_ELLIPSIS is not defined under CE
[wxWidgets.git] / src / generic / treectlg.cpp
index 2e2650bfed959324dc2f106afce9c13b13fe13dc..68e2b73bdb7c6bf65054a488b5bf253d84867e39 100644 (file)
@@ -3518,7 +3518,7 @@ void wxGenericTreeCtrl::Thaw()
 {
     wxCHECK_RET( m_freezeCount > 0, _T("thawing unfrozen tree control?") );
 
-    if ( !--m_freezeCount )
+    if ( --m_freezeCount == 0 )
     {
         Refresh();
     }