fix a bug that listbox may not be drawn(#317)
it doesn't draw if the first column is wider than the width of listbox
This commit is contained in:
parent
5d0650ffe7
commit
094830b8a7
@ -2470,10 +2470,10 @@ namespace nana
|
||||
x += col.width_px;
|
||||
if (x > 0)
|
||||
{
|
||||
seqs.push_back(col.index);
|
||||
|
||||
if (x >= static_cast<int>(lister_w))
|
||||
break;
|
||||
|
||||
seqs.push_back(col.index);
|
||||
}
|
||||
}
|
||||
return seqs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user