mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
made ShuttleGui destructor virtual
since it has virtual member functions and is used polymorphically in commands/GetInfoCommand.cpp
This commit is contained in:
@@ -78,7 +78,7 @@ class AUDACITY_DLL_API ShuttleGuiBase /* not final */
|
||||
{
|
||||
public:
|
||||
ShuttleGuiBase(wxWindow * pParent,teShuttleMode ShuttleMode);
|
||||
~ShuttleGuiBase(void);
|
||||
virtual ~ShuttleGuiBase();
|
||||
void Init();
|
||||
void ResetId();
|
||||
|
||||
@@ -403,7 +403,7 @@ class ShuttleGuiGetDefinition : public ShuttleGui, public CommandMessageTargetDe
|
||||
{
|
||||
public:
|
||||
ShuttleGuiGetDefinition(wxWindow * pParent,CommandMessageTarget & target );
|
||||
~ShuttleGuiGetDefinition(void);
|
||||
virtual ~ShuttleGuiGetDefinition();
|
||||
|
||||
wxCheckBox * TieCheckBox(
|
||||
const wxString &Prompt,
|
||||
@@ -457,9 +457,6 @@ public:
|
||||
const int Value,
|
||||
const int max,
|
||||
const int min) override;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user