summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesBoolWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesBoolWidget.h')
-rw-r--r--Source/CursesDialog/cmCursesBoolWidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesBoolWidget.h b/Source/CursesDialog/cmCursesBoolWidget.h
index a4dff63..ba05c43 100644
--- a/Source/CursesDialog/cmCursesBoolWidget.h
+++ b/Source/CursesDialog/cmCursesBoolWidget.h
@@ -2,6 +2,7 @@
#define __cmCursesBoolWidget_h
#include "cmCursesWidget.h"
+class cmCursesMainForm;
class cmCursesBoolWidget : public cmCursesWidget
{
@@ -12,7 +13,7 @@ public:
// Handle user input. Called by the container of this widget
// when this widget has focus. Returns true if the input was
// handled.
- virtual bool HandleInput(int& key, FORM* form, WINDOW* w);
+ virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
// Description:
// Set/Get the value (on/off).