From: Vadim Zeitlin Date: Sun, 25 Jul 2004 16:33:38 +0000 (+0000) Subject: don't assign the same normal value for all the other bitmaps, leave them empty (patch... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/189f58faea4c0b3e374532ce62b8b41681ae6831?ds=inline 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 --- 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();