+#endif
+ wxToolBarToolBase * const tool =
+ m_toolbar->AddTool
+ (
+ GetID(),
+ GetText(wxT("label")),
+ GetBitmap(wxT("bitmap"), wxART_TOOLBAR, m_toolSize),
+ GetBitmap(wxT("bitmap2"), wxART_TOOLBAR, m_toolSize),
+ kind,
+ GetText(wxT("tooltip")),
+ GetText(wxT("longhelp"))
+ );
+
+ if ( GetBool(wxT("disabled")) )
+ m_toolbar->EnableTool(GetID(), false);
+#if wxUSE_MENUS
+ if ( menu )
+ tool->SetDropdownMenu(menu);
+#endif
+