mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
revert disabled flag in unchecked checkbox func
I believe this one looks right now
This commit is contained in:
@@ -78,7 +78,7 @@ def GetNotCheckedBitmap(self):
|
||||
cbX, cbY = render.GetCheckBoxSize(self)
|
||||
bmp = wx.Bitmap(cbX, cbY)
|
||||
dc = wx.MemoryDC(bmp)
|
||||
render.DrawCheckBox(self, dc, (0, 0, cbX, cbY), wx.CONTROL_ISDEFAULT | wx.CONTROL_DISABLED)
|
||||
render.DrawCheckBox(self, dc, (0, 0, cbX, cbY), wx.CONTROL_ISDEFAULT)
|
||||
native_checkbox_unchecked_bmp = dc.GetAsBitmap((0, 0, cbX, cbY))
|
||||
return native_checkbox_unchecked_bmp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user