Jump to content

KrMenuBar: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''#include "krmenu.hpp"'''  
'''#include "krmenu.hpp"'''


KrMenuBar does not provide real new features, but rather a bugfix. It behaves exactely like IMenuBar, from which it inherits, with one exception: when constructed using  
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).


public:
[[Category:Kronis Classes]]
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 erranously uses the system proportional font).
 
[[Category:The OS/2 API Project]]

Latest revision as of 21:29, 7 October 2022

#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).