fix some listbox bugs

This commit is contained in:
Jinhao
2017-03-19 22:53:40 +08:00
parent 2988d3e16c
commit b890f2fad7
11 changed files with 671 additions and 535 deletions

View File

@@ -805,7 +805,7 @@ namespace nana
: public std::iterator<std::input_iterator_tag, item_proxy>
{
public:
item_proxy(essence*, const index_pair& = index_pair{});
item_proxy(essence*, const index_pair& = index_pair{npos, npos});
/// the main porpose of this it to make obvious that item_proxy operate with absolute positions, and dont get moved during sort()
static item_proxy from_display(essence *, const index_pair &relative) ;

View File

@@ -125,6 +125,7 @@ namespace std {
#ifdef _enable_std_put_time
#include <ctime>
#include <string>
namespace std
{
//Workaround for no implemenation of std::put_time in gcc < 5.