]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
Add benchmarks for wxImage and raw bitmap access to the graphics test.
[wxWidgets.git] / src / generic / combog.cpp
index 84eb95cd47cf7b162e2c5cfb784a1266e36b18a6..615106085c867a398baeebc34a36d0c861e94030 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