summaryrefslogtreecommitdiff
path: root/examples/nativefilechooser-simple-app.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-12-23 07:22:15 +0000
committerManolo Gouy <Manolo>2010-12-23 07:22:15 +0000
commit202433d5937f8f5761c7173f2afff57297e5c0c7 (patch)
treed2b29283d9c78c1e847d88248cdb68d5f6a6a59e /examples/nativefilechooser-simple-app.cxx
parent21af5cb884eeb736f54ae51d44baf3d2c10eb26f (diff)
Replaced "^o" shortcut by FL_COMMAND+'o'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/nativefilechooser-simple-app.cxx')
-rw-r--r--examples/nativefilechooser-simple-app.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/nativefilechooser-simple-app.cxx b/examples/nativefilechooser-simple-app.cxx
index 0f1eb01dd..778f949e1 100644
--- a/examples/nativefilechooser-simple-app.cxx
+++ b/examples/nativefilechooser-simple-app.cxx
@@ -120,10 +120,10 @@ public:
// CTOR
Application() : Fl_Window(400,200,"Native File Chooser Example") {
Fl_Menu_Bar *menu = new Fl_Menu_Bar(0,0,400,25);
- menu->add("&File/&Open", "^o", open_cb, (void*)this);
- menu->add("&File/&Save", "^s", save_cb, (void*)this);
+ menu->add("&File/&Open", FL_COMMAND+'o', open_cb, (void*)this);
+ menu->add("&File/&Save", FL_COMMAND+'s', save_cb, (void*)this);
menu->add("&File/&Save As", 0, saveas_cb, (void*)this);
- menu->add("&File/&Quit", "^q", quit_cb);
+ menu->add("&File/&Quit", FL_COMMAND+'q', quit_cb);
// Initialize the file chooser
fc = new Fl_Native_File_Chooser();
fc->filter("Text\t*.txt\n");