mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
A few more safenew
This commit is contained in:
parent
84c0a0b666
commit
97a69e9ccc
@ -743,7 +743,7 @@ void TagsEditor::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
|
||||||
if (mGrid == NULL) {
|
if (mGrid == NULL) {
|
||||||
mGrid = new Grid(S.GetParent(),
|
mGrid = safenew Grid(S.GetParent(),
|
||||||
wxID_ANY,
|
wxID_ANY,
|
||||||
wxDefaultPosition,
|
wxDefaultPosition,
|
||||||
wxDefaultSize,
|
wxDefaultSize,
|
||||||
|
@ -100,7 +100,7 @@ void ExtImportPrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
bool fillRuleTable = false;
|
bool fillRuleTable = false;
|
||||||
if (RuleTable == NULL)
|
if (RuleTable == NULL)
|
||||||
{
|
{
|
||||||
RuleTable = new Grid(S.GetParent(),EIPRuleTable);
|
RuleTable = safenew Grid(S.GetParent(),EIPRuleTable);
|
||||||
|
|
||||||
RuleTable->SetColLabelSize(RuleTable->GetDefaultRowSize());
|
RuleTable->SetColLabelSize(RuleTable->GetDefaultRowSize());
|
||||||
#if EXTIMPORT_MIME_SUPPORT
|
#if EXTIMPORT_MIME_SUPPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user