diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-24 17:32:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-24 17:32:31 (GMT) |
commit | 37468fad3aed3eb5116e42362d1b6f37adde595f (patch) | |
tree | a3b4aa6f418f3c0d4116c4549d1b4917abcc38ab /Source/MFCDialog/PropertyList.cpp | |
parent | 818b0e5bc1755d72e429ab89391254647c194eb5 (diff) | |
download | CMake-37468fad3aed3eb5116e42362d1b6f37adde595f.zip CMake-37468fad3aed3eb5116e42362d1b6f37adde595f.tar.gz CMake-37468fad3aed3eb5116e42362d1b6f37adde595f.tar.bz2 |
BUG: fix cache updates
Diffstat (limited to 'Source/MFCDialog/PropertyList.cpp')
-rw-r--r-- | Source/MFCDialog/PropertyList.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp index 5c69967..a4b2aea 100644 --- a/Source/MFCDialog/PropertyList.cpp +++ b/Source/MFCDialog/PropertyList.cpp @@ -144,10 +144,8 @@ int CPropertyList::AddProperty(const char* name, } } // if it is not found, then create a new one - int nIndex = AddString(_T("")); pItem = new CPropertyItem(name, value, type, comboItems); - SetItemDataPtr(nIndex,pItem); - return nIndex; + return this->AddPropItem(pItem); } int CPropertyList::OnCreate(LPCREATESTRUCT lpCreateStruct) |