r/sr=mkaply (OS/2 only)
Patch from Peter Weilbacher - Add eColor__moz_menubarhovertext for OS/2
This commit is contained in:
mkaply%us.ibm.com 2005-11-03 14:36:36 +00:00
parent db84bd093f
commit a0ae8d1a22

View File

@ -221,9 +221,12 @@ nsresult nsLookAndFeel::NativeGetColor(const nsColorID aID, nscolor &aColor)
case eColor__moz_buttondefault:
idx = SYSCLR_BUTTONDEFAULT;
break;
case eColor__moz_menubarhovertext: {
idx = SYSCLR_MENUTEXT;
break;
default:
idx = SYSCLR_WINDOW;
break;
idx = SYSCLR_WINDOW;
break;
}
long lColor = WinQuerySysColor( HWND_DESKTOP, idx, 0);