mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
wxTitleManagerList: Remove usage of u8string
This commit is contained in:
parent
21fb1c2cc3
commit
80b31a032e
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue