git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17194
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// First, add the bitmap: we use one bitmap for all toolbar buttons
// ----------------------------------------------------------------
// First, add the bitmap: we use one bitmap for all toolbar buttons
// ----------------------------------------------------------------
+ wxToolBarToolsList::Node *node;
int bitmapId = 0;
wxSize sizeBmp;
int bitmapId = 0;
wxSize sizeBmp;
// the number of buttons (not separators)
int nButtons = 0;
// the number of buttons (not separators)
int nButtons = 0;
- for ( wxToolBarToolsList::Node *node = m_tools.GetFirst();
- node;
- node = node->GetNext() )
+ for ( node = m_tools.GetFirst(); node; node = node->GetNext() )
{
wxToolBarToolBase *tool = node->GetData();
if ( tool->IsButton() )
{
wxToolBarToolBase *tool = node->GetData();
if ( tool->IsButton() )
bool lastWasRadio = FALSE;
int i = 0;
bool lastWasRadio = FALSE;
int i = 0;
- for ( wxToolBarToolsList::Node *node = m_tools.GetFirst();
- node;
- node = node->GetNext() )
+ for ( node = m_tools.GetFirst(); node; node = node->GetNext() )
{
wxToolBarToolBase *tool = node->GetData();
{
wxToolBarToolBase *tool = node->GetData();