[Bug 30684] Mono: GroupBox draws border line after text

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 16 02:25:52 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30684

--- Comment #3 from Ivan Voyager <vgr.subscription at gmail.com> 2012-05-16 02:25:52 CDT ---
I've added attachment with exe and source.

> Does this work correctly with native GDI+, or Mono on real Windows?
Yes, it draws correctly in Mono on Windows (I've Vista Business SP2).


Possible method stack:

System.Windows.Forms.GroupBoxRenderer.DrawGroupBox -> Graphics.SetClip
(GdipSetClipRectI) -> ControlPaint.DrawBorder3D -> Theme.CPDrawBorder3D ->
Graphics.DrawLine (GdipDrawLineI)

[DllImport("gdiplus.dll")]
internal static extern Status GdipSetClipRectI(IntPtr graphics, int x, int y,
int width, int height, CombineMode combineMode);

[DllImport("gdiplus.dll")]
internal static extern Status GdipDrawLineI(IntPtr graphics, IntPtr pen, int
x1, int y1, int x2, int y2);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list