Even more fixes for silent coercion, which is no more

This commit is contained in:
DarkPhoenix
2022-05-05 18:41:17 +04:00
parent 71d088b90a
commit ccd3498594
5 changed files with 10 additions and 10 deletions

View File

@@ -63,4 +63,4 @@ class PFBitmapFrame(wx.Frame):
mdc.DrawBitmap(self.bitmap, 0, 0)
mdc.SetPen(wx.Pen("#000000", width=1))
mdc.SetBrush(wx.TRANSPARENT_BRUSH)
mdc.DrawRectangle(0, 0, rect.width, rect.height)
mdc.DrawRectangle(0, 0, round(rect.width), round(rect.height))