From f2a4f50e7d53977c3ba1668b3b30e325ac2a81d3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 Jul 2009 13:11:52 +0000 Subject: [PATCH] make bitmap button background more visible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/button.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/widgets/button.cpp b/samples/widgets/button.cpp index a1e768f01b..b8e87e9f8d 100644 --- a/samples/widgets/button.cpp +++ b/samples/widgets/button.cpp @@ -493,9 +493,9 @@ wxBitmap ButtonWidgetsPage::CreateBitmap(const wxString& label) wxBitmap bmp(180, 70); // shouldn't hardcode but it's simpler like this wxMemoryDC dc; dc.SelectObject(bmp); - dc.SetBackground(wxBrush(*wxWHITE)); + dc.SetBackground(wxBrush(*wxCYAN)); dc.Clear(); - dc.SetTextForeground(*wxBLUE); + dc.SetTextForeground(*wxBLACK); dc.DrawLabel(wxStripMenuCodes(m_textLabel->GetValue()) + _T("\n") _T("(") + label + _T(" state)"), wxArtProvider::GetBitmap(wxART_INFORMATION), -- 2.45.2