-void wxToolBarBase::DoToolbarUpdates(void)
-{
- wxNode* node = GetTools().First();
- while (node)
- {
- wxToolBarTool* tool = (wxToolBarTool* ) node->Data();
-
- wxUpdateUIEvent event(tool->m_index);
- event.SetEventObject(this);
-
- if (GetEventHandler()->ProcessEvent(event))
- {
- if (event.GetSetEnabled())
- EnableTool(tool->m_index, event.GetEnabled());
- if (event.GetSetChecked())
- ToggleTool(tool->m_index, event.GetChecked());
+void wxToolBarBase::DoToolbarUpdates()
+{
+ wxNode* node = GetTools().First();
+ while (node)
+ {
+ wxToolBarTool* tool = (wxToolBarTool* ) node->Data();
+
+ wxUpdateUIEvent event(tool->m_index);
+ event.SetEventObject(this);
+
+ if (GetEventHandler()->ProcessEvent(event))
+ {
+ if (event.GetSetEnabled())
+ EnableTool(tool->m_index, event.GetEnabled());
+ if (event.GetSetChecked())
+ ToggleTool(tool->m_index, event.GetChecked());