mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-28 08:13:54 +01:00
PrefsPanel::Factory is a specialization of std::function...
... We don't need to define a class for it
This commit is contained in:
@@ -39,10 +39,6 @@ private:
|
||||
};
|
||||
|
||||
|
||||
/// A PrefsPanelFactory that creates one BatchPrefs panel.
|
||||
class BatchPrefsFactory final : public PrefsPanelFactory
|
||||
{
|
||||
public:
|
||||
PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
|
||||
};
|
||||
/// A PrefsPanel::Factory that creates one BatchPrefs panel.
|
||||
extern PrefsPanel::Factory BatchPrefsFactory;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user