X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..891ad68ff5ac338d81ea0c4ff176601761e73517:/src/msw/settings.cpp?ds=inline diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 418477ee81..e81d059ce0 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -49,7 +49,7 @@ wxColour wxSystemSettings::GetSystemColour(int index) wxFont wxSystemSettings::GetSystemFont(int index) { HFONT hFont = (HFONT) ::GetStockObject(index); - if ( hFont != NULL ) + if ( hFont != (HFONT) NULL ) { LOGFONT lf; if ( ::GetObject(hFont, sizeof(LOGFONT), &lf) != 0 )