UnsavedChangesDialog: fix wxString casts
similar instance: 08388d3daa
related to: #5752
This commit is contained in:
parent
9c568a543c
commit
b75830df6e
@ -201,9 +201,9 @@ void ModelNode::UpdateIcons()
|
||||
{
|
||||
// update icons for the colors, if any exists
|
||||
if (!m_old_color.IsEmpty())
|
||||
m_old_color_bmp = get_bitmap(m_toggle ? m_old_color : grey.c_str());
|
||||
m_old_color_bmp = get_bitmap(m_toggle ? m_old_color : wxString::FromUTF8(grey.c_str()));
|
||||
if (!m_new_color.IsEmpty())
|
||||
m_new_color_bmp = get_bitmap(m_toggle ? m_new_color : grey.c_str());
|
||||
m_new_color_bmp = get_bitmap(m_toggle ? m_new_color : wxString::FromUTF8(grey.c_str()));
|
||||
|
||||
// update main icon, if any exists
|
||||
if (m_icon_name.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user