Skip to content
Snippets Groups Projects
Commit afdb4256 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

two more fl_ask -> fl_choice
parent 14e0fc6b
Branches
Tags
No related merge requests found
...@@ -69,13 +69,13 @@ class Main_Window : public Fl_Window { ...@@ -69,13 +69,13 @@ class Main_Window : public Fl_Window {
case FL_KEYBOARD: case FL_KEYBOARD:
#if defined(__APPLE__) #if defined(__APPLE__)
if(Fl::test_shortcut(FL_META+'w')){ if(Fl::test_shortcut(FL_META+'w')){
if(fl_ask("Do you really want to quit?")) if(fl_choice("Do you really want to quit?", "Cancel", "Quit", NULL))
do_callback(); do_callback();
return 1; return 1;
} }
#elif defined(WIN32) #elif defined(WIN32)
if(Fl::test_shortcut(FL_ALT+FL_F+4)){ if(Fl::test_shortcut(FL_ALT+FL_F+4)){
if(fl_ask("Do you really want to quit?")) if(fl_choice("Do you really want to quit?", "Cancel", "Quit", NULL))
do_callback(); do_callback();
return 1; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment