use stock pens/colors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2006-04-27 04:45:13 +00:00
parent ccb9fa0dfb
commit b0fa218726
2 changed files with 7 additions and 11 deletions

View File

@ -4330,10 +4330,10 @@ void wxGrid::Init()
}
else
{
m_labelBackgroundColour = wxColour( wxT("WHITE") );
m_labelBackgroundColour = *wxWHITE;
}
m_labelTextColour = wxColour( wxT("BLACK") );
m_labelTextColour = *wxBLACK;
// init attr cache
m_attrCache.row = -1;

View File

@ -358,17 +358,13 @@ void wxStatusBarGeneric::InitColours()
m_hilightPen = wxPen(hilightColour, 1, wxSOLID);
#elif defined(__WXPM__)
m_mediumShadowPen = wxPen(wxColour(127, 127, 127), 1, wxSOLID);
m_hilightPen = wxPen(_T("WHITE"), 1, wxSOLID);
m_hilightPen = *wxWHITE_PEN;
wxColour vColour;
vColour.Set(wxString(_T("LIGHT GREY")));
SetBackgroundColour(vColour);
vColour.Set(wxString(_T("BLACK")));
SetForegroundColour(vColour);
SetBackgroundColour(*wxLIGHT_GREY);
SetForegroundColour(*wxBLACK);
#else
m_mediumShadowPen = wxPen(_T("GREY"), 1, wxSOLID);
m_hilightPen = wxPen(_T("WHITE"), 1, wxSOLID);
m_mediumShadowPen = *wxGREY_PEN;
m_hilightPen = *wxWHITE_PEN;
#endif
}