- if(HasFlag(wxTB_VERTICAL))
- {
- tbStyle |= wxTB_VERTICAL;
- }
- else
- {
- tbStyle |= wxTB_HORIZONTAL;
- }
- rend->DrawToolBarButton(dc, label, bitmap, rectTool, flags, tool->GetStyle(), tbStyle);
+ rend->DrawToolBarButton(dc, label, bitmap, rectTool, flags,
+ tool->GetStyle(), tbStyle);