]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/KeySymbol.h
* only for Mac
[lyx.git] / src / frontends / KeySymbol.h
index c60651f8ddb6dc7fedf6e06f626d7753f4de87fe..dc71a966e61110887170b933b76c4ad0eb22c38b 100644 (file)
@@ -12,9 +12,7 @@
 #ifndef KEYSYMBOL_H
 #define KEYSYMBOL_H
 
-#include <string>
-
-#include "key_state.h"
+#include "KeyModifier.h"
 
 #include "support/docstring.h"
 
@@ -58,7 +56,7 @@ public:
         * Use the native UI format when \c forgui is true.
         * i.e. (translated and with special characters for Mac OS X)
         */
-       docstring const print(key_modifier::state mod, bool forgui) const;
+       docstring const print(KeyModifier mod, bool forgui) const;
 
        ///
        int key() const { return key_; }