Merge branch 'leobackes-fix-consts' into hotfix-1.5.1
This commit is contained in:
commit
283880f668
@ -893,7 +893,7 @@ namespace nana
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
T* value_ptr() const
|
T const * value_ptr() const
|
||||||
{
|
{
|
||||||
return any_cast<T>(_m_value());
|
return any_cast<T>(_m_value());
|
||||||
}
|
}
|
||||||
|
|||||||
@ -237,9 +237,9 @@ namespace nana
|
|||||||
return this->get_drawer_trigger().activated();
|
return this->get_drawer_trigger().activated();
|
||||||
}
|
}
|
||||||
|
|
||||||
value_type & at(std::size_t pos) const /// Returns pos'th element
|
value_type const & at(std::size_t pos) const /// Returns pos'th element
|
||||||
{
|
{
|
||||||
return static_cast<value_type&>(this->get_drawer_trigger().at(pos));
|
return any_cast<value_type&>(this->get_drawer_trigger().at(pos));
|
||||||
}
|
}
|
||||||
|
|
||||||
void close_fly(bool fly) /// Draw or not a close button in each tab.
|
void close_fly(bool fly) /// Draw or not a close button in each tab.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user