]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
Fix completely wrong logic for veto checking in generic wxDVC.
[wxWidgets.git] / src / generic / treectlg.cpp
index a857c843b9a5e106182eaa4667f137448bb68ee3..7415dafd5049f8025343c5d5c46001a42285c0b7 100644 (file)
@@ -441,7 +441,7 @@ wxTreeTextCtrl::wxTreeTextCtrl(wxGenericTreeCtrl *owner,
     rect.y -= 2;
     rect.width  += 8;
     rect.height += 4;
-#elif defined(__WXMAC__)
+#elif defined(wxOSX_USE_CARBON) && wxOSX_USE_CARBON
     int bestHeight = GetBestSize().y - 8;
     if ( rect.height > bestHeight )
     {