A few more safenew

This commit is contained in:
Paul Licameli 2016-02-18 07:17:26 -05:00
parent 84c0a0b666
commit 97a69e9ccc
2 changed files with 2 additions and 2 deletions

View File

@ -743,7 +743,7 @@ void TagsEditor::PopulateOrExchange(ShuttleGui & S)
S.EndHorizontalLay();
if (mGrid == NULL) {
mGrid = new Grid(S.GetParent(),
mGrid = safenew Grid(S.GetParent(),
wxID_ANY,
wxDefaultPosition,
wxDefaultSize,

View File

@ -100,7 +100,7 @@ void ExtImportPrefs::PopulateOrExchange(ShuttleGui & S)
bool fillRuleTable = false;
if (RuleTable == NULL)
{
RuleTable = new Grid(S.GetParent(),EIPRuleTable);
RuleTable = safenew Grid(S.GetParent(),EIPRuleTable);
RuleTable->SetColLabelSize(RuleTable->GetDefaultRowSize());
#if EXTIMPORT_MIME_SUPPORT