added version number

This commit is contained in:
Ken Martin
2001-05-24 11:47:21 -04:00
parent 4d036f44f5
commit ad92f34fea
5 changed files with 24 additions and 17 deletions

View File

@@ -137,6 +137,10 @@ BOOL CMakeSetupDialog::OnInitDialog()
this->LoadFromRegistry();
// try to load the cmake cache from disk
this->LoadCacheFromDiskToGUI();
// Set the version number
char tmp[1024];
sprintf(tmp,"Version %s", cmMakefile::GetVersion());
SetDlgItemText(IDC_CMAKE_VERSION, tmp);
return TRUE; // return TRUE unless you set the focus to a control
}