- bitmap = wx.EmptyBitmap(16, 16)
- dc = wx.MemoryDC()
- dc.SelectObject(bitmap)
- dc.SetBackground(wx.TheBrushList.FindOrCreateBrush(fittingView.GetBackgroundColour(), wx.SOLID))
- dc.Clear()
- wx.RendererNative.Get().DrawCheckBox(fittingView, dc, wx.Rect(0, 0, 16, 16), state)