UI: Make code compatible with wxWidgets 3.3 (#1598)

This commit is contained in:
oltolm 2025-06-14 20:38:53 +02:00 committed by GitHub
parent 95dc590d2c
commit da98aa4176
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 14 deletions

View file

@ -283,7 +283,7 @@ void EmulatedUSBDeviceFrame::LoadSkylanderPath(uint8 slot, wxString path)
std::unique_ptr<FileStream> skyFile(FileStream::openFile2(_utf8ToPath(path.utf8_string()), true));
if (!skyFile)
{
wxMessageDialog open_error(this, "Error Opening File: " + path.c_str());
wxMessageDialog open_error(this, "Error Opening File: " + path);
open_error.ShowModal();
return;
}