git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46154
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// find the maximum tool width and height
wxToolBarTool *tool;
wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
// find the maximum tool width and height
wxToolBarTool *tool;
wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
{
tool = (wxToolBarTool *) node->GetData();
if ( tool != NULL )
{
tool = (wxToolBarTool *) node->GetData();
if ( tool != NULL )
#endif
node = m_tools.GetFirst();
#endif
node = m_tools.GetFirst();
{
tool = (wxToolBarTool*) node->GetData();
if ( tool == NULL )
{
tool = (wxToolBarTool*) node->GetData();
if ( tool == NULL )
DoToggleTool( tool, true );
wxToolBarToolsList::compatibility_iterator nodePrev = node->GetPrevious();
DoToggleTool( tool, true );
wxToolBarToolsList::compatibility_iterator nodePrev = node->GetPrevious();
- while ( nodePrev != NULL )
{
wxToolBarToolBase *toggleTool = nodePrev->GetData();
if ( (toggleTool == NULL) || !toggleTool->IsButton() || (toggleTool->GetKind() != wxITEM_RADIO) )
{
wxToolBarToolBase *toggleTool = nodePrev->GetData();
if ( (toggleTool == NULL) || !toggleTool->IsButton() || (toggleTool->GetKind() != wxITEM_RADIO) )
{
wxToolBarTool *tool;
wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
{
wxToolBarTool *tool;
wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
{
tool = (wxToolBarTool *)node->GetData();
if (tool != NULL)
{
tool = (wxToolBarTool *)node->GetData();
if (tool != NULL)