summaryrefslogtreecommitdiff
path: root/src/fl_ask.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_ask.cxx')
-rw-r--r--src/fl_ask.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index 49486716a..205979d7e 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -1,7 +1,7 @@
//
// Standard dialog functions for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2022 by Bill Spitzak and others.
+// Copyright 1998-2025 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -29,7 +29,7 @@
- fl_alert()
- fl_beep()
- fl_message()
- - fl_ask()
+ - fl_ask() // deprecated since 1.1.7 (2006), see comment in FL/fl_ask.H
- fl_choice()
- fl_input()
- fl_input_str()
@@ -129,6 +129,8 @@ void fl_alert(const char *fmt, ...) {
va_end(ap);
}
+#if FLTK_INCLUDE_FL_ASK // see FL/fl_ask.H
+
/** Shows a dialog displaying the \p fmt message,
this dialog features 2 yes/no buttons.
@@ -154,6 +156,8 @@ int fl_ask(const char *fmt, ...) {
return r;
}
+#endif // FLTK_INCLUDE_FL_ASK
+
/** Shows a dialog displaying the printf style \p fmt message.
This dialog features up to 3 customizable choice buttons