X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7081ff84f440249ead9c217d8ed5ec53e4b824c..69d31e313035d5e22d9400ec946f6007f710910c:/src/msw/settings.cpp diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 0092138732..ea2e76c0c0 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -208,7 +208,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) colSys = ::GetSysColor(index); #endif } - + wxColour ret = wxRGBToColour(colSys); wxASSERT(ret.IsOk()); return ret; @@ -270,7 +270,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) gs_fontDefault = new wxFont(wxCreateFontFromStockObject(SYSTEM_FONT)); } - wxASSERT(gs_fontDefault->IsOk() && + wxASSERT(gs_fontDefault->IsOk() && wxFontEnumerator::IsValidFacename(gs_fontDefault->GetFaceName())); return *gs_fontDefault; #else // !__WXWINCE__