Don't ifdef on an enum.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23163 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2007-12-26 21:46:11 +00:00
parent 61d902eaf9
commit 5aa3090bfb
+1 -1
View File
@@ -140,7 +140,7 @@ void SnowView::AttachedToWindow()
fDragger->SetViewColor(col);
if (fDragger->InShelf()) {
p->SetFlags(p->Flags() | B_DRAW_ON_CHILDREN);
#ifdef B_UPDATE_INVALIDATED
#ifdef B_BEOS_VERSION_DANO
p->SetDoubleBuffering(p->DoubleBuffering() | B_UPDATE_EXPOSED);
#endif
ResizeTo(p->Bounds().Width(), p->Bounds().Height());