diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-13 17:38:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-13 17:38:53 (GMT) |
commit | 41017cbc88b7f5e7de3df57f2626a7214eaeeb85 (patch) | |
tree | 26d46011cb0fa5243819d64840c088290d74cea5 /Source/FLTKDialog | |
parent | f3ebd438c75da4534ee77514381976d800db7bef (diff) | |
download | CMake-41017cbc88b7f5e7de3df57f2626a7214eaeeb85.zip CMake-41017cbc88b7f5e7de3df57f2626a7214eaeeb85.tar.gz CMake-41017cbc88b7f5e7de3df57f2626a7214eaeeb85.tar.bz2 |
ENH: clean up warnings
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.cxx | 3 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.h | 2 | ||||
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUIImplementation.cxx | 1 |
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; |