User forums > Using Code::Blocks
Code::Blocks Toolbar Class
(1/1)
Cinolt:
Hi, the wxWidgets wxToolBar class is a bit buggy as it can't even display 16x16 buttons without producing a noticeable gap at the bottom. I noticed the toolbars that Code::Blocks uses are different and seem to be more stable, can someone tell me which class Code::Blocks uses for its toolbars?
Jenna:
We use wxToolbar, but we call SetToolBitmapSize(...) before adding any tools.
You can see what we do exactly in src/main.cpp:1423 ( void MainFrame::DoAddPluginToolbar(cbPlugin* plugin) ) in the C::B sources.
Navigation
[0] Message Index
Go to full version