2008-09-23 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Tue, 23 Sep 2008 20:29:06 +0000 (20:29 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Tue, 23 Sep 2008 20:29:06 +0000 (20:29 -0000)
* ThemeWin32Classic.cs: Allow tooltips to be multiline.
[Fixes bug #427884]

svn path=/trunk/mcs/; revision=113891

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs

index df2d64b61118d9f0904d9cb4fddb5115156044e4..02ede110ee140c9e8c4f3f11f2f0363cb95e7c81 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-23  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ThemeWin32Classic.cs: Allow tooltips to be multiline.
+       [Fixes bug #427884]
+
 2008-09-23  Jonathan Pobst  <monkey@jpobst.com>
 
        * StatusBar.cs: Add tooltip support.
index 6efb5b6785968b1fb68ff320dbf4ca56b70a5f10..415cc3814abe8bd7996c0cc604174eafca893a42 100644 (file)
@@ -5359,7 +5359,7 @@ namespace System.Windows.Forms
 #else
                        Color foreground = this.ColorInfoText;
 #endif
-                       TextFormatFlags flags = TextFormatFlags.HidePrefix | TextFormatFlags.SingleLine | TextFormatFlags.VerticalCenter;
+                       TextFormatFlags flags = TextFormatFlags.HidePrefix;
                        TextRenderer.DrawTextInternal (dc, control.Text, control.Font, text_rect, foreground, flags, false);
                }