mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 23:59:41 +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:
parent
726f33e802
commit
89315bd5e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user