mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
GridCtrl: Fixed compilation issue (GCC, Clang)
git-svn-id: svn://ultimatepp.org/upp/trunk@4444 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
37aa7419b4
commit
2d991cb03f
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ GridCtrl::ItemRect& GridCtrl::ItemRect::NoEditable()
|
|||
Value GridCtrl::ItemRect::ExtractValue(int r, int c) const
|
||||
{
|
||||
const Value& v = (*items)[r][c].val;
|
||||
return IsType<AttrText>(v) ? ValueTo<AttrText>(v).text : v;
|
||||
return IsType<AttrText>(v) ? Value(ValueTo<AttrText>(v).text) : v;
|
||||
}
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue