summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUI.cxx3
-rw-r--r--Source/FLTKDialog/CMakeSetupGUI.h2
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.cxx1
3 files changed, 4 insertions, 2 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUI.cxx b/Source/FLTKDialog/CMakeSetupGUI.cxx
index 712aad8..3e28591 100644
--- a/Source/FLTKDialog/CMakeSetupGUI.cxx
+++ b/Source/FLTKDialog/CMakeSetupGUI.cxx
@@ -88,7 +88,8 @@ void CMakeSetupGUI::cb_m_OKButton(Fl_Button* o, void* v) {
}
CMakeSetupGUI::CMakeSetupGUI() {
- { Fl_Window* o = dialogWindow = new Fl_Window(562, 373, "CMakeSetupDialog");
+ { Fl_Window* w;
+ Fl_Window* o = dialogWindow = new Fl_Window(562, 373, "CMakeSetupDialog");
w = o;
o->callback((Fl_Callback*)cb_dialogWindow, (void*)(this));
{ Fl_Input* o = sourcePathTextInput = new Fl_Input(219, 15, 200, 20, "Where is the source code: ");
diff --git a/Source/FLTKDialog/CMakeSetupGUI.h b/Source/FLTKDialog/CMakeSetupGUI.h
index 2a26f92..22322b7 100644
--- a/Source/FLTKDialog/CMakeSetupGUI.h
+++ b/Source/FLTKDialog/CMakeSetupGUI.h
@@ -67,7 +67,7 @@ private:
inline void cb_m_OKButton_i(Fl_Button*, void*);
static void cb_m_OKButton(Fl_Button*, void*);
public:
- ~CMakeSetupGUI();
+ virtual ~CMakeSetupGUI();
virtual void Close(void);
virtual void BrowseForSourcePath(void);
virtual void BrowseForBinaryPath(void);
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
index 1c2761c..088732d 100644
--- a/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
+++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.cxx
@@ -518,6 +518,7 @@ CMakeSetupGUIImplementation
reverseOrder);
break;
case cmCacheManager::INTERNAL:
+ case cmCacheManager::STATIC:
// These entries should not be seen by the user
m_CacheEntriesList.RemoveProperty(key);
break;