diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-12 23:48:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-12 23:48:41 (GMT) |
commit | ae25b63b6a9741eed5ded151e1a927fb619c0315 (patch) | |
tree | ce03bcb7eccaa85a10a4440c60a65d68171fd240 /Source/MFCDialog/PropertyList.h | |
parent | df79a0bc471dff95453b4a33655b5c8f0a76c89a (diff) | |
download | CMake-ae25b63b6a9741eed5ded151e1a927fb619c0315.zip CMake-ae25b63b6a9741eed5ded151e1a927fb619c0315.tar.gz CMake-ae25b63b6a9741eed5ded151e1a927fb619c0315.tar.bz2 |
ENH: add a check to avoid quitting before rebuilding
Diffstat (limited to 'Source/MFCDialog/PropertyList.h')
-rw-r--r-- | Source/MFCDialog/PropertyList.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/MFCDialog/PropertyList.h b/Source/MFCDialog/PropertyList.h index d54861d..235588b 100644 --- a/Source/MFCDialog/PropertyList.h +++ b/Source/MFCDialog/PropertyList.h @@ -55,6 +55,9 @@ public: // Operations public: + bool IsDirty() { return m_Dirty; } + void ClearDirty() { m_Dirty = false; } + int AddItem(CString txt); int AddProperty(const char* name, const char* value, @@ -107,7 +110,8 @@ protected: void InvertLine(CDC* pDC,CPoint ptFrom,CPoint ptTo); void DisplayButton(CRect region); int AddPropItem(CPropertyItem* pItem); - + void InvalidateList(); + CComboBox m_cmbBox; CEdit m_editBox; CButton m_btnCtrl; |