aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/TextButton.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index 33a2b44..611580c 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -122,8 +122,6 @@ void TextButton::clearArea(int x, int y,
122 unsigned int width, unsigned int height, 122 unsigned int width, unsigned int height,
123 bool exposure) { 123 bool exposure) {
124 Button::clearArea(x, y, width, height, exposure); 124 Button::clearArea(x, y, width, height, exposure);
125 if (backgroundPixmap() == ParentRelative)
126 drawText(0, 0, this);
127} 125}
128 126
129 127