X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2f3b08582317760addae3bf02f28bb42dc2bf70..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/mgl/settings.cpp?ds=sidebyside diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 9b2d8621b4..107eb14b12 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -34,8 +34,7 @@ public: virtual bool OnInit() { return true; } virtual void OnExit() { - delete gs_fontDefault; - gs_fontDefault = NULL; + wxDELETE(gs_fontDefault); } private: @@ -109,7 +108,7 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) return false; default: - wxFAIL_MSG( _T("unknown feature") ); + wxFAIL_MSG( wxT("unknown feature") ); } return false;