small changes for end index of checkbox

This commit is contained in:
Jinhao
2018-04-09 13:55:00 +08:00
parent 355b6b2520
commit 2ba32d8aca
4 changed files with 11 additions and 9 deletions

View File

@@ -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