diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index af75de2935..ebf8535b2d 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -453,8 +453,10 @@ void wxToolTip::SetTip(const wxString& tip) { // update the tip text shown by the control wxToolInfo ti(GetHwndOf(m_window)); - ti.lpszText = (wxChar *)m_text.c_str(); + ti.lpszText = (wxChar *)wxT(""); + (void)SendTooltipMessage(GetToolTipCtrl(), TTM_UPDATETIPTEXT, &ti); + ti.lpszText = (wxChar *)m_text.c_str(); (void)SendTooltipMessage(GetToolTipCtrl(), TTM_UPDATETIPTEXT, &ti); } }