git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43239
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
return m_hasFocus ? m_highlightBrush : m_highlightUnfocusedBrush;
}
+
+ bool HasFocus() const
+ {
+ return m_hasFocus;
+ }
//protected:
// the array of all line objects for a non virtual list control (for the
wxColour colText;
if ( highlighted )
#ifdef __WXMAC__
- colText = *wxWHITE;
+ {
+ if (m_owner->HasFocus())
+ colText = *wxWHITE;
+ else
+ colText = *wxBLACK;
+ }
#else
colText = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
#endif