diff -r 12cb48823b8c -r 3c94bac4526e editors/Viewer.py --- a/editors/Viewer.py Tue Jun 26 14:48:44 2018 +0300 +++ b/editors/Viewer.py Tue Jun 26 17:34:15 2018 +0300 @@ -770,7 +770,7 @@ dc.SetFont(font) width, _height = dc.GetTextExtent("ABCDEFGHIJKLMNOPQRSTUVWXYZ") self.SetFont(font) - self.MiniTextDC = wx.MemoryDC() + self.MiniTextDC = wx.MemoryDC(wx.EmptyBitmap(1, 1)) self.MiniTextDC.SetFont(wx.Font(faces["size"] * 0.75, wx.SWISS, wx.NORMAL, wx.NORMAL, faceName=faces["helv"])) self.CurrentScale = None