]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/colourselect.py
reSWIGged
[wxWidgets.git] / wxPython / wx / lib / colourselect.py
index b96dadd29e3567de889f3e666e2681f39ffccaff..6fb0bd7e77c8340ff8cfc5ff5d03b3ce8f09215e 100644 (file)
@@ -100,6 +100,7 @@ class ColourSelect(wx.BitmapButton):
         bmp = wx.EmptyBitmap(width-bdr, height-bdr)
         dc = wx.MemoryDC()
         dc.SelectObject(bmp)
+        dc.SetFont(self.GetFont())
         label = self.GetLabel()
         # Just make a little colored bitmap
         dc.SetBackground(wx.Brush(self.colour))