,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
case wxSYS_COLOUR_WINDOWFRAME:
,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
case wxSYS_COLOUR_MENUTEXT:
,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
case wxSYS_COLOUR_BTNSHADOW:
,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
case wxSYS_COLOUR_BTNHIGHLIGHT:
,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
//
case wxSYS_COLOUR_INACTIVECAPTIONTEXT:
case wxSYS_COLOUR_BTNTEXT:
case wxSYS_COLOUR_INFOTEXT:
- return(*wxBLACK);
+ vCol = (*wxBLACK);
break;
//
case wxSYS_COLOUR_ACTIVECAPTION:
case wxSYS_COLOUR_ACTIVEBORDER:
case wxSYS_COLOUR_HIGHLIGHT:
- return(*wxBLUE);
+ vCol = (*wxBLUE);
break;
case wxSYS_COLOUR_SCROLLBAR:
case wxSYS_COLOUR_3DDKSHADOW:
case wxSYS_COLOUR_3DLIGHT:
case wxSYS_COLOUR_INFOBK:
- return(*wxLIGHT_GREY);
+ vCol = (*wxLIGHT_GREY);
break;
default:
,GetGValue(vRef)
,GetBValue(vRef)
);
- return vCol;
break;
}
return(vCol);
break;
}
}
+ if(wxSWISS_FONT)
+ return *wxSWISS_FONT;
- return *wxSWISS_FONT;
+ return wxNullFont;
}
// Get a system metric, e.g. scrollbar size