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 OnQuit(wxCommandEvent& WXUNUSED(event)){Close(true);}
void OnAbout(wxCommandEvent& WXUNUSED(event)) void OnAbout(wxCommandEvent& WXUNUSED(event))
{ {
wxString desmume_on(_T("Desmume on %s"), wxGetOsDescription()); wxMessageBox(
wxMessageBox(desmume_on, wxString::Format(wxT("Desmume on %s"),wxGetOsDescription().c_str()),
_T("About Desmume"), wxT("About Desmume"),
wxOK | wxICON_INFORMATION, wxOK | wxICON_INFORMATION,
this); this);
} }