aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index e78ed5f..99dd93d 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -34,7 +34,6 @@
34#include "Screen.hh" 34#include "Screen.hh"
35 35
36#include "Container.hh" 36#include "Container.hh"
37#include "WinButton.hh"
38 37
39#ifdef SHAPE 38#ifdef SHAPE
40#include "Shape.hh" 39#include "Shape.hh"
@@ -1504,12 +1503,6 @@ void FbWinFrame::init() {
1504 Setups upp background, pressed pixmap/color of the button to current theme 1503 Setups upp background, pressed pixmap/color of the button to current theme
1505*/ 1504*/
1506void FbWinFrame::applyButton(FbTk::Button &btn) { 1505void FbWinFrame::applyButton(FbTk::Button &btn) {
1507 // need to update button first, or it might override this on theme change
1508 if (typeid(btn) == typeid(WinButton)) {
1509 WinButton *tmp = static_cast<WinButton *>(&btn);
1510 tmp->update(0);
1511 }
1512
1513 if (m_button_pressed_pm) 1506 if (m_button_pressed_pm)
1514 btn.setPressedPixmap(m_button_pressed_pm); 1507 btn.setPressedPixmap(m_button_pressed_pm);
1515 else 1508 else