summaryrefslogtreecommitdiffstats
path: root/Source/WXDialog/cmWXMainFrame.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-24 20:20:44 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-24 20:20:44 (GMT)
commit8d14221f7e142d558828a7d160566c30dd46baa0 (patch)
tree60d8792a2680eff4f2d01b99982021c963ebde9f /Source/WXDialog/cmWXMainFrame.h
parenta863d65561152b8a1696b4b6a387805097d8de13 (diff)
downloadCMake-8d14221f7e142d558828a7d160566c30dd46baa0.zip
CMake-8d14221f7e142d558828a7d160566c30dd46baa0.tar.gz
CMake-8d14221f7e142d558828a7d160566c30dd46baa0.tar.bz2
Some GUI improvements and fix the way dirty is being set, so that if there are no cache values, dirty is not set
Diffstat (limited to 'Source/WXDialog/cmWXMainFrame.h')
-rw-r--r--Source/WXDialog/cmWXMainFrame.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/WXDialog/cmWXMainFrame.h b/Source/WXDialog/cmWXMainFrame.h
index e33990a..9c92858 100644
--- a/Source/WXDialog/cmWXMainFrame.h
+++ b/Source/WXDialog/cmWXMainFrame.h
@@ -56,8 +56,10 @@ public:
void OnHelp(wxCommandEvent& event);
void OnBrowseSource(wxCommandEvent& event);
void OnSourceSelected(wxCommandEvent& event);
+ void OnSourceUpdated(wxCommandEvent& event);
void OnBrowseBinary(wxCommandEvent& event);
void OnBinarySelected(wxCommandEvent& event);
+ void OnBinaryUpdated(wxCommandEvent& event);
void OnShowAdvancedValues(wxCommandEvent& event);
void OnResize(wxSizeEvent& event);
void OnPropertyChanged(wxEvent& event);
@@ -115,8 +117,9 @@ private:
// update source and binary menus.
void UpdateSourceBuildMenus();
- // Check wether cache is dirty.
+ // Check wether cache is dirty.
bool IsDirty() { return !this->m_Clean; }
+ void SetDirty() { this->m_Clean = false; }
void ClearDirty() { this->m_Clean = true; }
// Run the CMake