]> git.saurik.com Git - wxWidgets.git/commitdiff
Use BTNFACE colour for rendering selected item when widget is unfocussed
authorRobert Roebling <robert@roebling.de>
Sat, 20 Oct 2007 10:33:32 +0000 (10:33 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 20 Oct 2007 10:33:32 +0000 (10:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/renderer.cpp

index 101f7ca658a0d38bd6ee49f13c504d63d9ef8bb5..285dfabbd1bd279532724b7e97f770abb0eb4f6b 100644 (file)
@@ -548,7 +548,7 @@ wxRendererXP::DrawItemSelectionRect(wxWindow *win,
         }
         else // !focused
         {
-            brush = wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW));
+            brush = wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
         }
     }
     else // !selected