summaryrefslogtreecommitdiff
path: root/test/ask.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-04-11 07:35:33 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-04-11 07:35:33 +0000
commite72630762df5d3dfb34bf0866b7d908c93108bff (patch)
tree1a26152243e0f59ef329cea4bb89fa97e6bb72de /test/ask.cxx
parente9a3f0e927853890a424f8f46273dc010f3980e3 (diff)
Remove all warnings for Mac buidl with gcc (except one)
- some warnings about using char for indexing - some warnings about using signed int in strncmp - some warnings about deprecated fl_ask (replaced with fl_choice) The on warning not removed is the strftime("%c") in fluid since I don't know anything about PS and I don't know if a different data format would break PS. Mike? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/ask.cxx')
-rw-r--r--test/ask.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ask.cxx b/test/ask.cxx
index ac1358e93..86ce59435 100644
--- a/test/ask.cxx
+++ b/test/ask.cxx
@@ -51,7 +51,7 @@ void rename_me(Fl_Widget*o) {
}
void window_callback(Fl_Widget*, void*) {
- if (!fl_ask("Are you sure you want to quit?")) return;
+ if (!fl_choice("Are you sure you want to quit?", "Cancel", "Quit", 0L)) return;
exit(0);
}