More trace for detect place of crash on Mac

This commit is contained in:
Filip Sykala - NTB T15p 2023-02-28 10:39:59 +01:00
parent b5ec9ad882
commit 6300396707

View File

@ -174,8 +174,11 @@ std::string WxFontUtils::store_wxFont(const wxFont &font)
wxFont WxFontUtils::load_wxFont(const std::string &font_descriptor)
{
BOOST_LOG_TRIVIAL(trace) << "'" << font_descriptor << "'font descriptor string param of load_wxFont()";
wxString font_descriptor_wx(font_descriptor);
BOOST_LOG_TRIVIAL(trace) << "'" << font_descriptor_wx.c_str() << "' wx string descriptor";
wxFont wx_font(font_descriptor_wx);
BOOST_LOG_TRIVIAL(trace) << "loaded font is '" << get_human_readable_name(wx_font) << "'.";
return wx_font;
}