- m_hilightPen = wxPen("WHITE", 1, wxSOLID);
-
- wxColour vColour;
-
- vColour.Set(wxString("LIGHT GREY"));
- SetBackgroundColour(vColour);
- vColour.Set(wxString("BLACK"));
- SetForegroundColour(vColour);
-#else
- m_mediumShadowPen = wxPen("GREY", 1, wxSOLID);
- m_hilightPen = wxPen("WHITE", 1, wxSOLID);
-#endif
+ m_hilightPen = *wxWHITE_PEN;
+
+ SetBackgroundColour(*wxLIGHT_GREY);
+ SetForegroundColour(*wxBLACK);
+#else // !__WXPM__
+ m_mediumShadowPen = wxPen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DSHADOW));
+ m_hilightPen = wxPen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DHILIGHT));
+#endif // __WXPM__/!__WXPM__