115757 - null check for win2k, r=bryner, sr=hyatt

This commit is contained in:
hewitt%netscape.com 2002-01-04 01:04:13 +00:00
parent da0d43345f
commit 61df0dc23c

View File

@ -169,6 +169,9 @@ static void GetNativeRect(const nsRect& aSrc, RECT& aDst)
HANDLE
nsNativeThemeWin::GetTheme(PRUint8 aWidgetType)
{
if (!mThemeDLL)
return NULL;
switch (aWidgetType) {
case NS_THEME_BUTTON:
case NS_THEME_RADIO: