void wxSystemSettingsModule::OnExit()
{
- delete gs_fontDefault;
- gs_fontDefault = NULL;
+ wxDELETE(gs_fontDefault);
}
// ----------------------------------------------------------------------------
// there is no standard colour with this index, map to another one
index = wxSYS_COLOUR_WINDOWTEXT;
}
+ else if ( index == wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT)
+ {
+ // there is no standard colour with this index, map to another one
+ index = wxSYS_COLOUR_HIGHLIGHTTEXT;
+ }
else if ( index == wxSYS_COLOUR_LISTBOX )
{
// there is no standard colour with this index, map to another one