X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18fa735d20b4c66db72b51d60b82a2b3f2cda763..347f5baaa1664b1cf97f55d9dc539728abdfbfbb:/samples/minimal/minimal.cpp diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 7187ed46c6..b9403d3469 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -180,9 +180,15 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { - wxString msg; - msg.Printf( _T("This is the About dialog of the minimal sample.\n") - _T("Welcome to %s"), wxVERSION_STRING); - - wxMessageBox(msg, _T("About Minimal"), wxOK | wxICON_INFORMATION, this); + wxMessageBox(wxString::Format( + _T("Welcome to %s!\n") + _T("\n") + _T("This is the minimal wxWidgets sample\n") + _T("running under %s."), + wxVERSION_STRING, + wxGetOsDescription().c_str() + ), + _T("About wxWidgets minimal sample"), + wxOK | wxICON_INFORMATION, + this); }