diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-02 16:16:48 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-02 17:19:52 +0200 |
| commit | a05ae33e20b09ab952ddbbf6762d5cfec77e4943 (patch) | |
| tree | d56c63638917b24e3a35b7ca21dfbbe589c6f234 /src/fl_ask.cxx | |
| parent | 9a5bdf40a475519ff7b80a9cc51452966e8325e2 (diff) | |
Remove deprecated methods and functions
In FLTK 1.5 we remove most (but not all) methods and functions that
were deprecated in FLTK 1.3 or earlier.
Diffstat (limited to 'src/fl_ask.cxx')
| -rw-r--r-- | src/fl_ask.cxx | 8 |
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 |
