summaryrefslogtreecommitdiff
path: root/src/fl_ask.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-25 16:11:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-25 16:11:07 +0000
commita343b0d4e40d6dd295cfea1a6bc66940b7edff34 (patch)
tree8694e94efffe3d725471039f6f99a0b46b7ef086 /src/fl_ask.cxx
parentce40d4a0e67b79b48471d6328f46817d2e064544 (diff)
Pressing Enter in the file chooser when selecting a directory
will choose that directory if it is currently shown (STR #746) Added a fl_file_chooser_ok_label() function to set the "OK" button label for the fl_file_chooser() and fl_dir_chooser() functions. Added Fl_File_Chooser::ok_label() methods to set the "OK" button label. The fl_ask() function is now deprecated since it does not conform to the FLTK Human Interface Guidelines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_ask.cxx')
-rw-r--r--src/fl_ask.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx
index 016b52495..454ecff77 100644
--- a/src/fl_ask.cxx
+++ b/src/fl_ask.cxx
@@ -20,7 +20,9 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
-// Please report all bugs and problems to "fltk-bugs@fltk.org".
+// Please report all bugs and problems on the following page:
+//
+// http://www.fltk.org/str.php
//
// Implementation of fl_message, fl_ask, fl_choice, fl_input
@@ -273,7 +275,7 @@ void fl_message(const char *fmt, ...) {
va_start(ap, fmt);
iconlabel = "i";
- innards(fmt, ap, 0, fl_ok, 0);
+ innards(fmt, ap, 0, fl_close, 0);
va_end(ap);
iconlabel = "?";
}
@@ -285,7 +287,7 @@ void fl_alert(const char *fmt, ...) {
va_start(ap, fmt);
iconlabel = "!";
- innards(fmt, ap, 0, fl_ok, 0);
+ innards(fmt, ap, 0, fl_close, 0);
va_end(ap);
iconlabel = "?";
}