Is there anyway to set the font of the entries in a wxMenuBar?
It does not appear to have a SetFont method, nor does it use the font (set with .SetFont) of the wxFrame to which it is attached.
Am I missing something obvious (again)?
What platform are you on? On Windows, the font for
frame menubars is provided by the system, and controlled by
the Menu item in Control Panel / Display / Appearance.
Since wxWindows attempts to use native platform controls
when it can, it may not be possible to alter this on
an application-by-application basis (except by implementing
menus yourself, instead of using wxMenuBar)
David Fox
···
At 04:29 PM 2/7/2001, you wrote:
> > Is there anyway to set the font of the entries in a wxMenuBar?
> > It does not appear to have a SetFont method,
>
>Did you try it? Â wxMenuBar derives from wxWindow.
Nope, I made the mistake of relying upon the documentation, which says
wxMenuBar derives from wxObject and wxEvtHandler.
>I don't know if it
>actually works though, let me know.
As far as I can tell, it does not work, though no exceptions are thrown.
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/