Allow setting long version field in About dialog.
Long version is constructed by concatenating "Version " with the short version but can be overridden for the platforms which use it (currently MSW and OS X). Closes 11027. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -1689,7 +1689,13 @@ void MyFrame::ShowProgress( wxCommandEvent& WXUNUSED(event) )
 | 
			
		||||
static void InitAboutInfoMinimal(wxAboutDialogInfo& info)
 | 
			
		||||
{
 | 
			
		||||
    info.SetName(wxT("Dialogs Sample"));
 | 
			
		||||
    info.SetVersion(wxVERSION_NUM_DOT_STRING_T);
 | 
			
		||||
    info.SetVersion(wxVERSION_NUM_DOT_STRING,
 | 
			
		||||
                    wxString::Format
 | 
			
		||||
                    (
 | 
			
		||||
                        "%s version %s",
 | 
			
		||||
                        wxMINOR_VERSION % 2 ? "Development" : "Stable",
 | 
			
		||||
                        wxVERSION_NUM_DOT_STRING
 | 
			
		||||
                    ));
 | 
			
		||||
    info.SetDescription(wxT("This sample shows different wxWidgets dialogs"));
 | 
			
		||||
    info.SetCopyright(wxT("(C) 1998-2006 wxWidgets dev team"));
 | 
			
		||||
    info.AddDeveloper(wxT("Vadim Zeitlin"));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user