]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.C
Fix xforms menus display problems
[lyx.git] / src / frontends / Menubar.C
1 /* This file is part of
2  * ====================================================== 
3  * 
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2000 The LyX Team.
8  *
9  *           This file is Copyright 2000 Jean-Marc Lasgouttes
10  *
11  * ====================================================== */
12
13
14 #include <config.h>
15
16 #ifdef __GNUG__
17 #pragma implementation
18 #endif
19
20 #include "Menubar.h"
21 #include "Menubar_pimpl.h"
22
23 using std::endl;
24
25
26 Menubar::Menubar(LyXView * o, MenuBackend const & md)
27 {
28         pimpl_ = new Pimpl(o, md);
29 }
30
31
32 Menubar::~Menubar()
33 {
34         delete pimpl_;
35 }
36
37
38 void Menubar::set(string const & name)
39 {
40         pimpl_->set(name);
41 }
42
43
44 void Menubar::openByName(string const & name)
45 {
46         pimpl_->openByName(name);
47 }
48
49
50 void Menubar::update()
51 {
52         pimpl_->update();
53 }