summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesForm.h')
-rw-r--r--Source/CursesDialog/cmCursesForm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesForm.h b/Source/CursesDialog/cmCursesForm.h
index 35a3f13..23996a3 100644
--- a/Source/CursesDialog/cmCursesForm.h
+++ b/Source/CursesDialog/cmCursesForm.h
@@ -39,7 +39,14 @@ public:
// Description:
// Write a debugging message.
static void LogMessage(const char* msg);
-
+
+ // Description:
+ // Return the FORM. Should be only used by low-level methods.
+ FORM* GetForm()
+ {
+ return m_Form;
+ }
+
static cmCursesForm* CurrentForm;