summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbWinFrame.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 200c0bd..5c284ec 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.cc,v 1.4 2003/01/09 22:01:30 fluxgen Exp $ 22// $Id: FbWinFrame.cc,v 1.5 2003/01/12 20:31:54 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25#include "ImageControl.hh" 25#include "ImageControl.hh"
@@ -681,11 +681,13 @@ void FbWinFrame::setupButton(FbTk::Button &btn) {
681 //TODO button pressed color 681 //TODO button pressed color
682 682
683 if (m_focused) { 683 if (m_focused) {
684 btn.setGC(m_theme.labelTextFocusGC());
684 if (m_button_pm) 685 if (m_button_pm)
685 btn.setBackgroundPixmap(m_button_pm); 686 btn.setBackgroundPixmap(m_button_pm);
686 else 687 else
687 btn.setBackgroundColor(m_button_color); 688 btn.setBackgroundColor(m_button_color);
688 } else { 689 } else {
690 btn.setGC(m_theme.labelTextUnfocusGC());
689 if (m_button_unfocused_pm) 691 if (m_button_unfocused_pm)
690 btn.setBackgroundPixmap(m_button_unfocused_pm); 692 btn.setBackgroundPixmap(m_button_unfocused_pm);
691 else 693 else