+ gtk_toolbar_set_space_size( m_toolbar, separation );
+ m_separation = separation;
+}
+
+int wxToolBar::GetToolPacking()
+{
+ return 0;
+}
+
+int wxToolBar::GetToolSeparation()
+{
+ return m_separation;
+}
+
+wxString wxToolBar::GetToolLongHelp(int toolIndex)
+{
+ wxNode *node = m_tools.First();
+ while (node)
+ {
+ wxToolBarTool *tool = (wxToolBarTool*)node->Data();
+ if (tool->m_index == toolIndex)
+ {
+ return tool->m_longHelpString;
+ }
+ node = node->Next();
+ }
+
+ wxFAIL_MSG( "wrong toolbar index" );
+
+ return "";
+}
+
+wxString wxToolBar::GetToolShortHelp(int toolIndex)
+{
+ wxNode *node = m_tools.First();
+ while (node)
+ {
+ wxToolBarTool *tool = (wxToolBarTool*)node->Data();
+ if (tool->m_index == toolIndex)
+ {
+ return tool->m_shortHelpString;
+ }
+ node = node->Next();
+ }
+
+ wxFAIL_MSG( "wrong toolbar index" );
+
+ return "";
+}
+
+void wxToolBar::SetToolLongHelp(int toolIndex, const wxString& helpString)
+{
+ wxNode *node = m_tools.First();
+ while (node)
+ {
+ wxToolBarTool *tool = (wxToolBarTool*)node->Data();
+ if (tool->m_index == toolIndex)
+ {
+ tool->m_longHelpString = helpString;
+ return;
+ }
+ node = node->Next();
+ }
+
+ wxFAIL_MSG( "wrong toolbar index" );
+
+ return;
+}
+
+void wxToolBar::SetToolShortHelp(int toolIndex, const wxString& helpString)
+{
+ wxNode *node = m_tools.First();
+ while (node)
+ {
+ wxToolBarTool *tool = (wxToolBarTool*)node->Data();
+ if (tool->m_index == toolIndex)
+ {
+ tool->m_shortHelpString = helpString;
+ return;
+ }
+ node = node->Next();
+ }
+
+ wxFAIL_MSG( "wrong toolbar index" );
+
+ return;
+}
+