MacOS conforming activate/deactivate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-12-20 07:50:22 +00:00
parent 422644a317
commit 1c469f7f4e
13 changed files with 100 additions and 91 deletions

View File

@@ -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;