X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/607f6d2b4f2e29c389a9bc753813077d0f57d3cb..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/src/mac/carbon/stattext.cpp diff --git a/src/mac/carbon/stattext.cpp b/src/mac/carbon/stattext.cpp index bb9b15ad7f..88b0edf3f9 100644 --- a/src/mac/carbon/stattext.cpp +++ b/src/mac/carbon/stattext.cpp @@ -128,6 +128,10 @@ void wxStaticText::OnDraw( wxDC &dc ) if (m_width <= 0 || m_height <= 0) return; + if ( !IsWindowHilited( MacGetRootWindow() ) ) + { + dc.SetTextForeground( wxColour( 0x80 , 0x80 , 0x80 ) ) ; + } wxString paragraph; int i = 0 ; wxString text = m_label;