summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-09-01 22:39:33 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-09-01 22:39:33 +0000
commitb700c8c0880107f2ee663d4a58d5e9823c60942d (patch)
tree1b4959efbff9de41387d1bd85b8041ad10c9491a /test
parenta79854777cf373a9047c53fc4180ad00e5e0a82b (diff)
Fix Fl_Menu_Button focus problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/menubar.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/menubar.cxx b/test/menubar.cxx
index 89370b086..0fb1dc0ff 100644
--- a/test/menubar.cxx
+++ b/test/menubar.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: menubar.cxx,v 1.6.2.8.2.3 2002/01/01 15:11:33 easysw Exp $"
+// "$Id: menubar.cxx,v 1.6.2.8.2.4 2002/09/01 22:39:33 easysw Exp $"
//
// Menubar test program for the Fast Light Tool Kit (FLTK).
//
@@ -189,6 +189,7 @@ int main(int argc, char **argv) {
menus[2] = &ch;
Fl_Menu_Button mb(0,0,WIDTH,400,"&popup");
mb.type(Fl_Menu_Button::POPUP3);
+ mb.box(FL_NO_BOX);
mb.menu(menutable);
mb.remove(1); // delete the "File" submenu
mb.callback(test_cb);
@@ -202,5 +203,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: menubar.cxx,v 1.6.2.8.2.3 2002/01/01 15:11:33 easysw Exp $".
+// End of "$Id: menubar.cxx,v 1.6.2.8.2.4 2002/09/01 22:39:33 easysw Exp $".
//