small changes for end index of checkbox
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* A CheckBox Implementation
|
||||
* Nana C++ Library(http://www.nanapro.org)
|
||||
* Copyright(C) 2003-2017 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2003-2018 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -296,7 +296,7 @@ namespace nana{ namespace drawerbase
|
||||
return static_cast<std::size_t>(i - ui_container_.cbegin());
|
||||
}
|
||||
|
||||
return ui_container_.size();
|
||||
return npos;
|
||||
}
|
||||
|
||||
std::size_t radio_group::size() const
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* A group widget implementation
|
||||
* Nana C++ Library(http://www.nanaro.org)
|
||||
* Copyright(C) 2015-2017 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2015-2018 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -172,13 +172,13 @@ namespace nana{
|
||||
return *this;
|
||||
}
|
||||
|
||||
group& group::collocate() throw ()
|
||||
group& group::collocate() noexcept
|
||||
{
|
||||
impl_->place_content.collocate();
|
||||
return *this;
|
||||
}
|
||||
|
||||
group& group::div(const char* div_str) throw ()
|
||||
group& group::div(const char* div_str) noexcept
|
||||
{
|
||||
if (div_str)
|
||||
impl_->usr_div_str = div_str;
|
||||
|
||||
Reference in New Issue
Block a user