Merge branch 'hotfixes-0.9.1' into develop
Conflicts: include/nana/gui/widgets/progress.hpp source/gui/widgets/date_chooser.cpp source/gui/widgets/progress.cpp source/gui/widgets/treebox.cpp
This commit is contained in:
@@ -643,7 +643,7 @@ namespace nana{ namespace widgets
|
||||
pre_calc_line(i, pixels);
|
||||
}
|
||||
|
||||
std::size_t take_lines() const
|
||||
std::size_t take_lines() const override
|
||||
{
|
||||
std::size_t lines = 0;
|
||||
for (auto & mtr : linemtr_)
|
||||
@@ -652,7 +652,7 @@ namespace nana{ namespace widgets
|
||||
return lines;
|
||||
}
|
||||
|
||||
std::size_t take_lines(std::size_t pos) const
|
||||
std::size_t take_lines(std::size_t pos) const override
|
||||
{
|
||||
return (pos < linemtr_.size() ? linemtr_[pos].take_lines : 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user