X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30e92ba333f0aa8b7d7f1c004ea20e4dab5c1f7a..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/combog.cpp?ds=sidebyside diff --git a/src/generic/combog.cpp b/src/generic/combog.cpp index 84eb95cd47..615106085c 100644 --- a/src/generic/combog.cpp +++ b/src/generic/combog.cpp @@ -255,9 +255,15 @@ void wxGenericComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) ) int customBorder = m_widthCustomBorder; // Set border colour +#ifdef __WXMAC__ + wxPen pen1( wxColour(133,133,133), + customBorder, + wxSOLID ); +#else wxPen pen1( wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT), customBorder, wxPENSTYLE_SOLID); +#endif dc.SetPen( pen1 ); // area around both controls