experimenting with review_utf8
This commit is contained in:
@@ -355,13 +355,15 @@ namespace nana
|
||||
msgbox::msgbox(const std::string& title)
|
||||
: wd_(nullptr), title_(title), button_(ok), icon_(icon_none)
|
||||
{
|
||||
throw_not_utf8(title_);
|
||||
// throw_not_utf8(title_);
|
||||
review_utf8(title_);
|
||||
}
|
||||
|
||||
msgbox::msgbox(window wd, const std::string& title, button_t b)
|
||||
: wd_(wd), title_(title), button_(b), icon_(icon_none)
|
||||
{
|
||||
throw_not_utf8(title_);
|
||||
// throw_not_utf8(title_);
|
||||
review_utf8(title_);
|
||||
}
|
||||
|
||||
msgbox& msgbox::icon(icon_t ic)
|
||||
|
||||
@@ -3148,6 +3148,7 @@ namespace nana
|
||||
{
|
||||
auto cell_txtcolor = fgcolor;
|
||||
auto & m_cell = item.cells[column_pos];
|
||||
review_utf8(m_cell.text);
|
||||
nana::size ts = graph->text_extent_size(m_cell.text); // precalcule text geometry
|
||||
|
||||
if (m_cell.custom_format && (!m_cell.custom_format->bgcolor.invisible())) // adapt to costum format if need
|
||||
|
||||
Reference in New Issue
Block a user