diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 0951bf00a2..fae9cda7e4 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -2717,6 +2717,12 @@ void FormMain::OnShowHeader( wxCommandEvent& event ) void FormMain::OnAbout(wxCommandEvent& WXUNUSED(event)) { + wxPlatformInfo pi = wxPlatformInfo::Get(); + wxString toolkit = wxString::Format("%s %i.%i.%i", pi.GetPortIdName(), + pi.GetToolkitMajorVersion(), + pi.GetToolkitMinorVersion(), + pi.GetToolkitMicroVersion()); + wxString msg; msg.Printf( "wxPropertyGrid Sample" #if wxUSE_UNICODE @@ -2735,8 +2741,8 @@ void FormMain::OnAbout(wxCommandEvent& WXUNUSED(event)) #endif "\n\n" "Programmed by %s\n\n" - "Using %s\n\n", - "Jaakko Salli", wxVERSION_STRING + "Using %s (%s)\n\n", + "Jaakko Salli", wxVERSION_STRING, toolkit ); wxMessageBox(msg, "About", wxOK | wxICON_INFORMATION, this);