]> git.saurik.com Git - wxWidgets.git/commitdiff
Darker border for wxComboCtrl on Mac
authorJulian Smart <julian@anthemion.co.uk>
Fri, 2 Mar 2012 12:43:39 +0000 (12:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 2 Mar 2012 12:43:39 +0000 (12:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/combog.cpp

index 84eb95cd47cf7b162e2c5cfb784a1266e36b18a6..fdba8bc50af30f7f3f8a5d56086de2e826e0508e 100644 (file)
@@ -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