From 9e10f5d41610d8865f663e39ddd0da357a25ed7e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Sep 2008 17:01:40 +0000 Subject: [PATCH] use {short,long}_help_string parameters of AddTool() (part of #9931) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibar.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index 9713a69eff..5b42d58c27 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -907,8 +907,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; @@ -916,6 +916,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;