Peter Kümmel <[EMAIL PROTECTED]> writes: | Index: frontends/LyXView.h | =================================================================== | --- frontends/LyXView.h (revision 15652) | +++ frontends/LyXView.h (working copy) | @@ -136,6 +136,7 @@ | | /// update the toolbar | void updateToolbars(); | +
hmm | /// update the menubar | void updateMenubar(); | /// update the status bar | Index: frontends/Toolbars.C | =================================================================== | --- frontends/Toolbars.C (revision 15652) | +++ frontends/Toolbars.C (working copy) | @@ -24,6 +24,14 @@ | #include "LyXView.h" | | | +namespace { | + static lyx::ToolbarBackend::Flags toTBFlags(int i) | + { | + return static_cast<lyx::ToolbarBackend::Flags>(i); | + } | +} This should not be static. (anon namespace is enough) Also indentation is wrong. -- Lgb