X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89977ceb4e793c8102dd58868bdb56d37b52f430..2fb0cabbf9e924c25d51b13bf7aa1ba8aa24e75e:/wxPython/wx/lib/colourselect.py?ds=inline diff --git a/wxPython/wx/lib/colourselect.py b/wxPython/wx/lib/colourselect.py index 787a1d925d..1183fc4222 100644 --- a/wxPython/wx/lib/colourselect.py +++ b/wxPython/wx/lib/colourselect.py @@ -32,6 +32,12 @@ # o Updated for 2.5 compatability. # +""" +Provides a `ColourSelect` button that, when clicked, will display a +colour selection dialog. The selected colour is displayed on the +button itself. +""" + #---------------------------------------------------------------------------- import wx @@ -104,7 +110,7 @@ class ColourSelect(wx.BitmapButton): def MakeBitmap(self): - bdr = 10 + bdr = 8 width, height = self.GetSize() # yes, this is weird, but it appears to work around a bug in wxMac