mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
115757 - null check for win2k, r=bryner, sr=hyatt
This commit is contained in:
parent
da0d43345f
commit
61df0dc23c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user