summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ask.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ask.cxx b/test/ask.cxx
index cfe1dcbd6..29def0df3 100644
--- a/test/ask.cxx
+++ b/test/ask.cxx
@@ -61,8 +61,12 @@ void rename_me_pwd(Fl_Widget*o) {
}
void window_callback(Fl_Widget*, void*) {
+ int hotspot = fl_message_hotspot();
+ fl_message_hotspot(0);
+ fl_message_title("note: no hotspot set for this dialog");
int rep = fl_choice("Are you sure you want to quit?",
"Cancel", "Quit", "Dunno");
+ fl_message_hotspot(hotspot);
if (rep==1)
exit(0);
else if (rep==2)