mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
wxTitleManagerList: Remove usage of u8string
This commit is contained in:
parent
21fb1c2cc3
commit
80b31a032e
@ -200,10 +200,10 @@ boost::optional<wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEnt
|
||||
|
||||
boost::optional<const wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path) const
|
||||
{
|
||||
const auto tmp = path.generic_u8string();
|
||||
const auto tmp = _utf8Wrapper(path);
|
||||
for (const auto& data : m_data)
|
||||
{
|
||||
if (boost::iequals(data->entry.path.generic_u8string(), tmp))
|
||||
if (boost::iequals(_utf8Wrapper(data->entry.path), tmp))
|
||||
return data->entry;
|
||||
}
|
||||
|
||||
@ -211,10 +211,10 @@ boost::optional<const wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTi
|
||||
}
|
||||
boost::optional<wxTitleManagerList::TitleEntry&> wxTitleManagerList::GetTitleEntry(const fs::path& path)
|
||||
{
|
||||
const auto tmp = path.generic_u8string();
|
||||
const auto tmp = _utf8Wrapper(path);
|
||||
for (const auto& data : m_data)
|
||||
{
|
||||
if (boost::iequals(data->entry.path.generic_u8string(), tmp))
|
||||
if (boost::iequals(_utf8Wrapper(data->entry.path), tmp))
|
||||
return data->entry;
|
||||
}
|
||||
|
||||
@ -1280,4 +1280,4 @@ void wxTitleManagerList::ClearItems()
|
||||
void wxTitleManagerList::AutosizeColumns()
|
||||
{
|
||||
wxAutosizeColumns(this, ColumnTitleId, ColumnMAX - 1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user