diff --git a/wxPython/wx/lib/stattext.py b/wxPython/wx/lib/stattext.py index 54d7c64e93..3bc9a4c483 100644 --- a/wxPython/wx/lib/stattext.py +++ b/wxPython/wx/lib/stattext.py @@ -138,9 +138,10 @@ class GenStaticText(wx.PyControl): dc.Clear() if self.IsEnabled(): - dc.SetTextForeground(self.GetForegroundColour()) - else: - dc.SetTextForeground(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT)) + dc.SetTextForeground(self.GetForegroundColour()) + else: + dc.SetTextForeground(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT)) + dc.SetFont(self.GetFont()) label = self.GetLabel() style = self.GetWindowStyleFlag()