Jump to content

KrMenuBar

From EDM2
Revision as of 21:29, 7 October 2022 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

#include "krmenu.hpp"

KrMenuBar does not provide real new features, but rather a bugfix. It behaves exactly like IMenuBar, from which it inherits, with one exception: when constructed using

public:
KrMenuBar (IFrameWindow *owner, const Style & style = defaultStyle());

the correct system font for menus is used to build the menu bar and the associated menus (IMenuBar erroneously uses the system proportional font).