Fixed build. The 'nice' thing is that it worked on r5 (even with our app_server) as the function is present in the header (just not implemented in our libbe).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13395 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-07-01 23:14:53 +00:00
parent 29e998cec3
commit 6fc5bc53fa
+7 -3
View File
@@ -253,11 +253,15 @@ BScrollBar::BScrollBar(BMessage *archive)
BScrollBar::~BScrollBar()
{
if (fTarget) {
if (Orientation() == B_VERTICAL)
fTarget->fVerScroller = NULL;
else
fTarget->fHorScroller = NULL;
}
delete fPrivateData;
free(fTargetName);
if (fTarget)
fTarget->UnsetScroller(this);
}