small fix for constructor of scroll

This commit is contained in:
Jinhao 2018-01-22 06:29:40 +08:00
parent 368d584c96
commit 2a26223628
2 changed files with 4 additions and 4 deletions

View File

@ -398,7 +398,7 @@ namespace nana
/// \brief The construct that creates a widget. /// \brief The construct that creates a widget.
/// @param wd A handle to the parent window of the widget being created. /// @param wd A handle to the parent window of the widget being created.
/// @param visible specify the visibility after creation. /// @param visible specify the visibility after creation.
scroll(window wd, bool visible) scroll(window wd, bool visible = true)
{ {
this->create(wd, rectangle(), visible); // add a widget scheme? and take some colors from these wd? this->create(wd, rectangle(), visible); // add a widget scheme? and take some colors from these wd?
} }