fix about dialog

This commit is contained in:
wntrmute 2010-02-04 03:11:08 +00:00
parent fbd2bceab4
commit 99401dd1f4
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ public:
void OnQuit(wxCommandEvent& WXUNUSED(event)){Close(true);}
void OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxString desmume_on(_T("Desmume on %s"), wxGetOsDescription());
wxMessageBox(desmume_on,
_T("About Desmume"),
wxMessageBox(
wxString::Format(wxT("Desmume on %s"),wxGetOsDescription().c_str()),
wxT("About Desmume"),
wxOK | wxICON_INFORMATION,
this);
}