Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dynamic toolbar tooltip updates on wxGTK
wxToolbarTool::SetShortHelp() does not refresh the UI (i.e. the internal native representation) in all ports. At some point, wxOSX was affected, but since fixed: https://trac.wxwidgets.org/ticket/12362 wxGTK appears to intentionally take this route (https://github.com/wxWidgets/wxWidgets/blob833ae03c6a80dea21b775fa871af0f32289e0bd4/src/gtk/toolbar.cpp#L808) and addressing it there is impractical because we have to support many wxGTK versions. Fixed by using wxToolbar::SetToolShortHelp() instead. Other nearby code already uses this set of functions, so it seems only appropriate.
- Loading branch information