controls/LogViewer.py
changeset 1169 53e4a2b775a7
parent 1094 fe6dd066fd95
child 1170 074e46cdedbc
--- a/controls/LogViewer.py	Fri May 17 20:58:34 2013 +0200
+++ b/controls/LogViewer.py	Thu May 23 18:47:44 2013 +0200
@@ -28,7 +28,8 @@
 
 import wx
 
-from graphics import DebugViewer, REFRESH_PERIOD, ToolTip, TOOLTIP_WAIT_PERIOD
+from controls.CustomToolTip import CustomToolTip, TOOLTIP_WAIT_PERIOD
+from graphics import DebugViewer, REFRESH_PERIOD
 from targets.typemapping import LogLevelsCount, LogLevels
 from util.BitmapLibrary import GetBitmap
 
@@ -699,7 +700,7 @@
                 tooltip_pos = self.MessagePanel.ClientToScreen(self.LastMousePos)
                 tooltip_pos.x += 10
                 tooltip_pos.y += 10
-                self.MessageToolTip = ToolTip(self.MessagePanel, message.GetFullText(), False)
+                self.MessageToolTip = CustomToolTip(self.MessagePanel, message.GetFullText(), False)
                 self.MessageToolTip.SetFont(self.Font)
                 self.MessageToolTip.MoveToolTip(tooltip_pos)
                 self.MessageToolTip.Show()