Darker border for wxComboCtrl on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -255,9 +255,15 @@ void wxGenericComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) )
|
|||||||
int customBorder = m_widthCustomBorder;
|
int customBorder = m_widthCustomBorder;
|
||||||
|
|
||||||
// Set border colour
|
// Set border colour
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
wxPen pen1( wxColour(133,133,133),
|
||||||
|
customBorder,
|
||||||
|
wxSOLID );
|
||||||
|
#else
|
||||||
wxPen pen1( wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT),
|
wxPen pen1( wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT),
|
||||||
customBorder,
|
customBorder,
|
||||||
wxPENSTYLE_SOLID);
|
wxPENSTYLE_SOLID);
|
||||||
|
#endif
|
||||||
dc.SetPen( pen1 );
|
dc.SetPen( pen1 );
|
||||||
|
|
||||||
// area around both controls
|
// area around both controls
|
||||||
|
Reference in New Issue
Block a user