A few more safenew
This commit is contained in:
parent
84c0a0b666
commit
97a69e9ccc
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue