avoid duplication in native dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,7 +81,8 @@ void wxAboutBox(const wxAboutDialogInfo& info, wxWindow *parent)
|
|||||||
if ( info.HasVersion() )
|
if ( info.HasVersion() )
|
||||||
{
|
{
|
||||||
opts.Set(CFSTR("Version"),info.GetVersion());
|
opts.Set(CFSTR("Version"),info.GetVersion());
|
||||||
opts.Set(CFSTR("ApplicationVersion"),info.GetLongVersion());
|
if ( info.GetLongVersion() != (_("Version ")+info.GetVersion()))
|
||||||
|
opts.Set(CFSTR("ApplicationVersion"),info.GetLongVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( info.HasCopyright() )
|
if ( info.HasCopyright() )
|
||||||
|
Reference in New Issue
Block a user