]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/stattext.py
Compile fixes for Panther
[wxWidgets.git] / wxPython / wx / lib / stattext.py
index 54d7c64e93c7bbccc8ff5cc5abb760d86d7b6cd5..3bc9a4c483ff4394f30fca81afcc24603d8e09ea 100644 (file)
@@ -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()