X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b0e208f3fc2ab582687ab9bba5de2f4279d51c1..4f320d7c57daa1cd4bc86cbe1da1ef1619b22edc:/src/os2/settings.cpp diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index b384ebb034..c3f6e7bc0f 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -70,8 +70,7 @@ void wxSystemSettingsModule::OnExit() { sm_optionNames.Clear(); sm_optionValues.Clear(); - delete gs_fontDefault; - gs_fontDefault = NULL; + wxDELETE(gs_fontDefault); } wxColour wxSystemSettingsNative::GetColour( @@ -248,7 +247,7 @@ wxFont wxSystemSettingsNative::GetFont( wxFONTWEIGHT_NORMAL ); break; default: - wxFAIL_MSG( _T("stock font not found") ); + wxFAIL_MSG( wxT("stock font not found") ); return GetFont(wxSYS_ANSI_VAR_FONT); }