#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/utils.h"
+#include "wx/settings.h"
#include <stdio.h>
if (m_width <= 0 || m_height <= 0)
return;
+ if ( !IsWindowHilited( (WindowRef) MacGetRootWindow() ) &&
+ ( GetBackgroundColour() == wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE )
+ || GetBackgroundColour() == wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE) ) )
+ {
+ dc.SetTextForeground( wxColour( 0x80 , 0x80 , 0x80 ) ) ;
+ }
+ else
+ {
+ dc.SetTextForeground( GetForegroundColour() ) ;
+ }
+
wxString paragraph;
int i = 0 ;
wxString text = m_label;