aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GUI/PictureBox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Frontend/GUI/PictureBox.cs')
-rw-r--r--ShiftOS.Frontend/GUI/PictureBox.cs2
1 files changed, 1 insertions, 1 deletions
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)