more toolbar improvement.

This commit is contained in:
Karim Mribti
2016-01-24 15:04:36 +01:00
parent c20eb357af
commit bfc775c5e0
2 changed files with 6 additions and 4 deletions

View File

@@ -418,12 +418,14 @@ namespace nana
}//end namespace drawerbase
//class toolbar
toolbar::toolbar(window wd, bool visible)
toolbar::toolbar(window wd, bool visible, bool detached) :
detached_(detached)
{
create(wd, rectangle(), visible);
}
toolbar::toolbar(window wd, const rectangle& r, bool visible)
toolbar::toolbar(window wd, const rectangle& r, bool visible, bool detached) :
detached_(detached)
{
create(wd, r, visible);
}