mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Type alias ManualPageID for wxString used in many places...
... eliminating many direct mentions of wxString. A real type distinction will be made next.
This commit is contained in:
@@ -100,11 +100,11 @@ public:
|
||||
void PopulateOrExchange(ShuttleGui & S);
|
||||
void AddStuck( ShuttleGui & S, bool & bBool,
|
||||
const PrefSetter &prefSetter,
|
||||
const TranslatableString &Prompt, wxString Help );
|
||||
const TranslatableString &Prompt, const ManualPageID &Help );
|
||||
|
||||
void OnOk(wxCommandEvent &event);
|
||||
void OnCancel(wxCommandEvent &event);
|
||||
void OnHelp(const wxString &Str);
|
||||
void OnHelp(const ManualPageID &Str);
|
||||
void OnFix(const PrefSetter &setter, wxWindowID id);
|
||||
|
||||
AudacityProject &mProject;
|
||||
@@ -154,7 +154,7 @@ QuickFixDialog::QuickFixDialog(wxWindow * pParent, AudacityProject &project) :
|
||||
|
||||
void QuickFixDialog::AddStuck( ShuttleGui & S, bool & bBool,
|
||||
const PrefSetter &prefSetter,
|
||||
const TranslatableString &Prompt, wxString Help )
|
||||
const TranslatableString &Prompt, const ManualPageID &Help )
|
||||
{
|
||||
mItem++;
|
||||
wxWindowID id = FixButtonID + mItem;
|
||||
@@ -266,7 +266,7 @@ void QuickFixDialog::OnCancel(wxCommandEvent &event)
|
||||
EndModal(wxID_CANCEL);
|
||||
}
|
||||
|
||||
void QuickFixDialog::OnHelp(const wxString &Str)
|
||||
void QuickFixDialog::OnHelp(const ManualPageID &Str)
|
||||
{
|
||||
HelpSystem::ShowHelp(this, Str, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user