show the OS information in the about dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -180,9 +180,15 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) | |||||||
|  |  | ||||||
| void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) | void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) | ||||||
| { | { | ||||||
|     wxString msg; |     wxMessageBox(wxString::Format( | ||||||
|     msg.Printf( _T("This is the About dialog of the minimal sample.\n") |                     _T("Welcome to %s!\n") | ||||||
|                 _T("Welcome to %s"), wxVERSION_STRING); |                     _T("\n") | ||||||
|  |                     _T("This is the minimal wxWidgets sample\n") | ||||||
|     wxMessageBox(msg, _T("About Minimal"), wxOK | wxICON_INFORMATION, this); |                     _T("running under %s."), | ||||||
|  |                     wxVERSION_STRING, | ||||||
|  |                     wxGetOsDescription().c_str() | ||||||
|  |                  ), | ||||||
|  |                  _T("About wxWidgets minimal sample"), | ||||||
|  |                  wxOK | wxICON_INFORMATION, | ||||||
|  |                  this); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user