- Changed default toolbar bitmaps size from obsolete 16x15 to 24x24 used
by modern apps.
- Ellipsize long strings in wxStatusBar (Francesco Montorsi)
+- Fix spurious repaint when changing tooltip text (Jonathan Liu).
wxX11:
{
// update the tip text shown by the control
wxToolInfo ti(GetHwndOf(m_window));
- ti.lpszText = (wxChar *)m_text.wx_str();
+ // for some reason, changing the tooltip text directly results in
+ // repaint of the controls under it, see #10520 -- but this doesn't
+ // happen if we reset it first
+ ti.lpszText = _T("");
+ (void)SendTooltipMessage(GetToolTipCtrl(), TTM_UPDATETIPTEXT, &ti);
+
+ ti.lpszText = const_cast<wxChar *>(m_text.wx_str());
(void)SendTooltipMessage(GetToolTipCtrl(), TTM_UPDATETIPTEXT, &ti);
}
}