use {short,long}_help_string parameters of AddTool() (part of #9931)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-02 17:01:40 +00:00
parent 2a493911d8
commit dd36bd26da

View File

@@ -913,8 +913,8 @@ void wxAuiToolBar::AddTool(int tool_id,
const wxBitmap& bitmap,
const wxBitmap& disabled_bitmap,
wxItemKind kind,
const wxString& WXUNUSED(short_help_string),
const wxString& WXUNUSED(long_help_string),
const wxString& short_help_string,
const wxString& long_help_string,
wxObject* WXUNUSED(client_data))
{
wxAuiToolBarItem item;
@@ -922,6 +922,8 @@ void wxAuiToolBar::AddTool(int tool_id,
item.label = label;
item.bitmap = bitmap;
item.disabled_bitmap = disabled_bitmap;
item.short_help = short_help_string;
item.long_help = long_help_string;
item.active = true;
item.dropdown = false;
item.space_pixels = 0;