+ 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 "";