]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Fix class switching bug
[lyx.git] / src / MenuBackend.h
index 169b9d56183794d59f6761d4035f4f9cd4a22250..192c45d5c4e9f03f771f830539a3003a352cd67d 100644 (file)
@@ -127,6 +127,8 @@ public:
        bool empty() const { return items_.empty(); }
        ///
        ItemList::size_type size() const { return items_.size(); }
+       ///
+       bool hasSubmenu(string const &) const;
         ///
         const_iterator begin() const {
                 return items_.begin();
@@ -163,7 +165,7 @@ public:
        ///
        void add(Menu const &);
        ///
-       bool hasMenu (string const &) const;
+       bool hasMenu(string const &) const;
        ///
        Menu & getMenu (string const &);
        ///