From 68362b4c6fe2e740ac02f7b4cb1ae77de3cfbd09 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 3 Jul 2017 08:55:21 -0400 Subject: major optimizations, draggable windows --- ShiftOS.Frontend/GUI/PictureBox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShiftOS.Frontend/GUI/PictureBox.cs') diff --git a/ShiftOS.Frontend/GUI/PictureBox.cs b/ShiftOS.Frontend/GUI/PictureBox.cs index 2447416..9a234d4 100644 --- a/ShiftOS.Frontend/GUI/PictureBox.cs +++ b/ShiftOS.Frontend/GUI/PictureBox.cs @@ -50,7 +50,7 @@ namespace ShiftOS.Frontend.GUI } } - public override void Paint(Graphics gfx) + protected override void OnPaint(Graphics gfx) { if(img != null) switch (_layout) -- cgit v1.2.3