Fix blurry text in AuiNotebook tab.

This commit is contained in:
Tianzhu Qiao
2023-03-01 11:25:11 -08:00
parent 2f2624b17d
commit 86bd21007a

View File

@@ -1462,7 +1462,7 @@ class AuiTabContainer(object):
button_count = len(self._buttons)
# create off-screen bitmap
bmp = wx.Bitmap(self._rect.GetWidth(), self._rect.GetHeight())
bmp = wx.Bitmap(self._rect.GetWidth(), self._rect.GetHeight(), raw_dc)
dc.SelectObject(bmp)
if not dc.IsOk():