From c91397af8821cd6cb28e998b4a6c5514f142561f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 18 Jun 2007 18:51:34 +0000 Subject: [PATCH] it looks better if we just change the main bitmap, not all of them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/colourselect.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxPython/wx/lib/colourselect.py b/wxPython/wx/lib/colourselect.py index 5edba11b67..4c39ece648 100644 --- a/wxPython/wx/lib/colourselect.py +++ b/wxPython/wx/lib/colourselect.py @@ -140,10 +140,10 @@ class ColourSelect(wx.BitmapButton): def SetBitmap(self, bmp): self.SetBitmapLabel(bmp) - self.SetBitmapSelected(bmp) - self.SetBitmapDisabled(bmp) - self.SetBitmapFocus(bmp) - self.SetBitmapSelected(bmp) + #self.SetBitmapSelected(bmp) + #self.SetBitmapDisabled(bmp) + #self.SetBitmapFocus(bmp) + #self.SetBitmapSelected(bmp) self.Refresh()