mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-28 15:38:48 +01:00
Scanned for bad naked new; found none; changed comments, used safenew
This commit is contained in:
@@ -314,12 +314,12 @@ Meter::Meter(AudacityProject *project,
|
||||
{
|
||||
if(mIsInput)
|
||||
{
|
||||
//mIcon = new wxBitmap(MicMenuNarrow_xpm);
|
||||
//mIcon = NEW wxBitmap(MicMenuNarrow_xpm);
|
||||
mIcon = std::make_unique<wxBitmap>(wxBitmap(theTheme.Bitmap(bmpMic)));
|
||||
}
|
||||
else
|
||||
{
|
||||
//mIcon = new wxBitmap(SpeakerMenuNarrow_xpm);
|
||||
//mIcon = NEW wxBitmap(SpeakerMenuNarrow_xpm);
|
||||
mIcon = std::make_unique<wxBitmap>(wxBitmap(theTheme.Bitmap(bmpSpeaker)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user