- wxMessageBox("This is a minimal sample\nA second line in the message box",
- "About Minimal", wxOK | wxICON_INFORMATION, this);
+ wxString msg;
+ msg.Printf( _T("This is the about dialog of minimal sample.\n")
+ _T("Welcome to %s")
+#ifdef wxBETA_NUMBER
+ _T(" (beta %d)!")
+#endif // wxBETA_NUMBER
+ , wxVERSION_STRING
+#ifdef wxBETA_NUMBER
+ , wxBETA_NUMBER
+#endif // wxBETA_NUMBER
+ );
+
+ wxMessageBox(msg, "About Minimal", wxOK | wxICON_INFORMATION, this);