News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code::Blocks Toolbar Class

Started by Cinolt, August 13, 2010, 01:39:04 AM

Previous topic - Next topic

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.