1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 08:56:03 +01:00

Fix dialog naming

For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
This commit is contained in:
James Crook
2019-12-06 10:39:07 +00:00
parent d4baeed6a5
commit 5a3e9cd063
25 changed files with 287 additions and 287 deletions

View File

@@ -13,7 +13,7 @@
********************************************************************//**
\class SoundActivatedRecord
\class SoundActivatedRecordDialog
\brief Configures sound activated recording.
*//********************************************************************/
@@ -25,11 +25,11 @@
#include "Prefs.h"
#include "prefs/GUISettings.h"
BEGIN_EVENT_TABLE(SoundActivatedRecord, wxDialogWrapper)
EVT_BUTTON(wxID_OK, SoundActivatedRecord::OnOK)
BEGIN_EVENT_TABLE(SoundActivatedRecordDialog, wxDialogWrapper)
EVT_BUTTON(wxID_OK, SoundActivatedRecordDialog::OnOK)
END_EVENT_TABLE()
SoundActivatedRecord::SoundActivatedRecord(wxWindow* parent)
SoundActivatedRecordDialog::SoundActivatedRecordDialog(wxWindow* parent)
: wxDialogWrapper(parent, -1, _("Sound Activated Record"), wxDefaultPosition,
wxDefaultSize, wxCAPTION )
// wxDefaultSize, wxCAPTION | wxTHICK_FRAME)
@@ -41,11 +41,11 @@ SoundActivatedRecord::SoundActivatedRecord(wxWindow* parent)
Center();
}
SoundActivatedRecord::~SoundActivatedRecord()
SoundActivatedRecordDialog::~SoundActivatedRecordDialog()
{
}
void SoundActivatedRecord::PopulateOrExchange(ShuttleGui & S)
void SoundActivatedRecordDialog::PopulateOrExchange(ShuttleGui & S)
{
S.SetBorder(5);
int dBRange;
@@ -65,7 +65,7 @@ void SoundActivatedRecord::PopulateOrExchange(ShuttleGui & S)
S.AddStandardButtons();
}
void SoundActivatedRecord::OnOK(wxCommandEvent & WXUNUSED(event))
void SoundActivatedRecordDialog::OnOK(wxCommandEvent & WXUNUSED(event))
{
ShuttleGui S( this, eIsSavingToPrefs );
PopulateOrExchange( S );