Setting font in wxToolBar

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
ElliotDev
In need of some credit
In need of some credit
Posts: 3
Joined: Fri Oct 16, 2009 4:14 pm

Setting font in wxToolBar

Post by ElliotDev »

I have a toolbar that displays text and not icons.
How can I manipulate the font of that text? I's like it to be smaller than the default size.
Thanks,
Elliot Waldman
illnatured
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 234
Joined: Mon May 08, 2006 12:31 pm
Location: Krakow, Poland

Post by illnatured »

Code: Select all

wxFont font (8, wxMODERN, wxNORMAL, wxNORMAL);
m_pToolbar->SetFont (font);
VC++ 2005 / Windows XP / wxWidgets 2.8.9
Post Reply