]> git.saurik.com Git - wxWidgets.git/commitdiff
don't assign the same normal value for all the other bitmaps, leave them empty (patch...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2004 16:33:38 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2004 16:33:38 +0000 (16:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/bmpbuttn.cpp
src/gtk1/bmpbuttn.cpp

index 34f5bab8900580bc87501f81f22cb9232176b5b7..795f5c5eb924de6116c1a7dd602b9988bd3cee04 100644 (file)
@@ -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();
 
index 34f5bab8900580bc87501f81f22cb9232176b5b7..795f5c5eb924de6116c1a7dd602b9988bd3cee04 100644 (file)
@@ -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();