Default args allowed only in header (not implementation) with gcc 3.X

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3243 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech
2003-05-14 15:14:29 +00:00
parent 04579c0307
commit 5b75be9487
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -129,7 +129,7 @@ BArchivable* BTextControl::Instantiate(BMessage* data)
return new BTextControl(data);
}
//------------------------------------------------------------------------------
status_t BTextControl::Archive(BMessage* data, bool deep = true) const
status_t BTextControl::Archive(BMessage* data, bool deep) const
{
// TODO: compare against original version and finish
status_t err = BView::Archive(data, deep);
@@ -281,6 +281,7 @@ void BTextControl::MouseDown(BPoint where)
MakeFocus(true);
}
}
//------------------------------------------------------------------------------
void BTextControl::AttachedToWindow()
{
BControl::AttachedToWindow();
@@ -295,7 +296,8 @@ void BTextControl::AttachedToWindow()
ResizeTo(Bounds().Width(), h);
fText->ResizeTo(fText->Bounds().Width(), h);
}
void BTextControl::MakeFocus(bool state = true)
//------------------------------------------------------------------------------
void BTextControl::MakeFocus(bool state)
{
if (IsEnabled())
{