Wpf.WebView: set/unsent ToolTip property to prevent stale tooltips from appearing at incorrect locations

This commit is contained in:
anthony taranto
2012-03-08 14:07:54 -08:00
parent da7332b1f4
commit ef7acaade4
+2
View File
@@ -429,10 +429,12 @@ namespace Wpf
{
if (String::IsNullOrEmpty(text))
{
ToolTip = nullptr;
_toolTip->IsOpen = false;
}
else
{
ToolTip = _toolTip;
_toolTip->Content = text;
_toolTip->IsOpen = true;
}