- 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
+ (
+ "Welcome to %s!\n"
+ "\n"
+ "This is the minimal wxWidgets sample\n"
+ "running under %s.",
+ wxVERSION_STRING,
+ wxGetOsDescription()
+ ),
+ "About wxWidgets minimal sample",
+ wxOK | wxICON_INFORMATION,
+ this);