From 189f58faea4c0b3e374532ce62b8b41681ae6831 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Jul 2004 16:33:38 +0000 Subject: [PATCH] don't assign the same normal value for all the other bitmaps, leave them empty (patch 990370) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/bmpbuttn.cpp | 5 +---- src/gtk1/bmpbuttn.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index 34f5bab890..795f5c5eb9 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -137,10 +137,7 @@ bool wxBitmapButton::Create( wxWindow *parent, return FALSE; } - m_bmpNormal = - m_bmpDisabled = - m_bmpFocus = - m_bmpSelected = bitmap; + m_bmpNormal = bitmap; m_widget = gtk_button_new(); diff --git a/src/gtk1/bmpbuttn.cpp b/src/gtk1/bmpbuttn.cpp index 34f5bab890..795f5c5eb9 100644 --- a/src/gtk1/bmpbuttn.cpp +++ b/src/gtk1/bmpbuttn.cpp @@ -137,10 +137,7 @@ bool wxBitmapButton::Create( wxWindow *parent, return FALSE; } - m_bmpNormal = - m_bmpDisabled = - m_bmpFocus = - m_bmpSelected = bitmap; + m_bmpNormal = bitmap; m_widget = gtk_button_new(); -- 2.45.2