summaryrefslogtreecommitdiffstats
path: root/examples2/secret.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/secret.py')
-rw-r--r--examples2/secret.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2/secret.py b/examples2/secret.py
index 8c8de85..d68bd1b 100644
--- a/examples2/secret.py
+++ b/examples2/secret.py
@@ -52,7 +52,7 @@ picture_xpm = [
class SecretSource(TQLabel):
def __init__(self, secret, parent=None, name=None):
TQLabel.__init__(self, "Secret", parent, name)
- self.setBackgroundColor( TQt.blue.light() )
+ self.setPaletteBackgroundColor( TQt.blue.light() )
self.setFrameStyle( TQLabel.Box | TQLabel.Sunken )
self.setMinimumHeight( self.sizeHint().height()*2 )
self.setAlignment( TQLabel.AlignCenter )