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:
@@ -4330,10 +4330,10 @@ void wxGrid::Init()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_labelBackgroundColour = wxColour( wxT("WHITE") );
|
m_labelBackgroundColour = *wxWHITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_labelTextColour = wxColour( wxT("BLACK") );
|
m_labelTextColour = *wxBLACK;
|
||||||
|
|
||||||
// init attr cache
|
// init attr cache
|
||||||
m_attrCache.row = -1;
|
m_attrCache.row = -1;
|
||||||
|
@@ -358,17 +358,13 @@ void wxStatusBarGeneric::InitColours()
|
|||||||
m_hilightPen = wxPen(hilightColour, 1, wxSOLID);
|
m_hilightPen = wxPen(hilightColour, 1, wxSOLID);
|
||||||
#elif defined(__WXPM__)
|
#elif defined(__WXPM__)
|
||||||
m_mediumShadowPen = wxPen(wxColour(127, 127, 127), 1, wxSOLID);
|
m_mediumShadowPen = wxPen(wxColour(127, 127, 127), 1, wxSOLID);
|
||||||
m_hilightPen = wxPen(_T("WHITE"), 1, wxSOLID);
|
m_hilightPen = *wxWHITE_PEN;
|
||||||
|
|
||||||
wxColour vColour;
|
SetBackgroundColour(*wxLIGHT_GREY);
|
||||||
|
SetForegroundColour(*wxBLACK);
|
||||||
vColour.Set(wxString(_T("LIGHT GREY")));
|
|
||||||
SetBackgroundColour(vColour);
|
|
||||||
vColour.Set(wxString(_T("BLACK")));
|
|
||||||
SetForegroundColour(vColour);
|
|
||||||
#else
|
#else
|
||||||
m_mediumShadowPen = wxPen(_T("GREY"), 1, wxSOLID);
|
m_mediumShadowPen = *wxGREY_PEN;
|
||||||
m_hilightPen = wxPen(_T("WHITE"), 1, wxSOLID);
|
m_hilightPen = *wxWHITE_PEN;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user