summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbWinFrame.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index bef8f9f..05c6f00 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.11 2003/02/22 18:31:00 fluxgen Exp $ 22// $Id: FbWinFrame.cc,v 1.12 2003/02/23 00:57:55 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25#include "ImageControl.hh" 25#include "ImageControl.hh"
@@ -725,13 +725,13 @@ void FbWinFrame::setupButton(FbTk::Button &btn) {
725 //TODO button pressed color 725 //TODO button pressed color
726 726
727 if (m_focused) { 727 if (m_focused) {
728 btn.setGC(m_theme.labelTextFocusGC()); 728 btn.setGC(m_theme.buttonPicFocusGC());
729 if (m_button_pm) 729 if (m_button_pm)
730 btn.setBackgroundPixmap(m_button_pm); 730 btn.setBackgroundPixmap(m_button_pm);
731 else 731 else
732 btn.setBackgroundColor(m_button_color); 732 btn.setBackgroundColor(m_button_color);
733 } else { 733 } else {
734 btn.setGC(m_theme.labelTextUnfocusGC()); 734 btn.setGC(m_theme.buttonPicUnfocusGC());
735 if (m_button_unfocused_pm) 735 if (m_button_unfocused_pm)
736 btn.setBackgroundPixmap(m_button_unfocused_pm); 736 btn.setBackgroundPixmap(m_button_unfocused_pm);
737 else 737 else