fixed indentation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,9 +138,10 @@ class GenStaticText(wx.PyControl):
|
|||||||
dc.Clear()
|
dc.Clear()
|
||||||
|
|
||||||
if self.IsEnabled():
|
if self.IsEnabled():
|
||||||
dc.SetTextForeground(self.GetForegroundColour())
|
dc.SetTextForeground(self.GetForegroundColour())
|
||||||
else:
|
else:
|
||||||
dc.SetTextForeground(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT))
|
dc.SetTextForeground(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT))
|
||||||
|
|
||||||
dc.SetFont(self.GetFont())
|
dc.SetFont(self.GetFont())
|
||||||
label = self.GetLabel()
|
label = self.GetLabel()
|
||||||
style = self.GetWindowStyleFlag()
|
style = self.GetWindowStyleFlag()
|
||||||
|
Reference in New Issue
Block a user