Updates the place::dock_create to return the widget created by the factory function.

This commit is contained in:
Leonardo Backes Vargas
2016-04-25 09:38:45 -03:00
parent c512b2dad5
commit 767c57d2b8
3 changed files with 15 additions and 10 deletions

View File

@@ -141,7 +141,7 @@ namespace nana
}
place& dock(const std::string& dockname, std::string factory_name, std::function<std::unique_ptr<widget>(window)> factory);
place& dock_create(const std::string& factory);
widget* dock_create(const std::string& factory);
private:
implement * impl_;
};