We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9c977 commit 6f4d7d0Copy full SHA for 6f4d7d0
External/Plugins/ASCompletion/Win32/FixedTreeView.cs
@@ -105,9 +105,11 @@ protected override void OnMouseUp(MouseEventArgs e)
105
106
public FixedTreeView()
107
{
108
- SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
109
if (Environment.OSVersion.Platform == PlatformID.Win32NT && Environment.OSVersion.Version.Major < 6)
+ {
110
SetStyle(ControlStyles.UserPaint, true);
111
+ }
112
+ else SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
113
}
114
115
protected override void OnHandleCreated(EventArgs e)
0 commit comments