summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-03-28 04:23:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-03-28 04:23:32 +0000
commit2abfda36ab9e32bbd8c93ab43eb006fe6778146a (patch)
tree1baae18ad973e0897fe6f56dd11b1a6da5fa9409 /fluid/Fl_Function_Type.cxx
parent9f6d4ada32cff2df7bde458ce130edd4379b9c50 (diff)
Preliminary support for widget classes (still need to do code writing
methods...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
-rw-r--r--fluid/Fl_Function_Type.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx
index 9b6b06b8c..f464378aa 100644
--- a/fluid/Fl_Function_Type.cxx
+++ b/fluid/Fl_Function_Type.cxx
@@ -750,7 +750,9 @@ void Fl_Comment_Type::open() {
// remove the last selected comment from the database
if (itempath[0]==0 || last_selected_item==0) {
fl_message("Please select an entry form this menu first.");
- } else if (fl_ask("Are you sure that you want to delete the entry\n\"%s\"\nfrom the database?", itempath)) {
+ } else if (fl_choice("Are you sure that you want to delete the entry\n"
+ "\"%s\"\nfrom the database?", "Cancel", "Delete",
+ NULL, itempath)) {
Fl_Preferences db(Fl_Preferences::USER, "fltk.org", "fluid_comments");
db.deleteEntry(itempath);
comment_predefined->remove(last_selected_item);