mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-31 19:44:54 +02:00
PrefsPanel::Factory is a specialization of std::function...
... We don't need to define a class for it
This commit is contained in:
@@ -55,10 +55,6 @@ class ModulePrefs final : public PrefsPanel
|
||||
FilePaths mPaths;
|
||||
};
|
||||
|
||||
/// A PrefsPanelFactory that creates one ModulePrefs panel.
|
||||
class ModulePrefsFactory final : public PrefsPanelFactory
|
||||
{
|
||||
public:
|
||||
PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
|
||||
};
|
||||
/// A PrefsPanel::Factory that creates one ModulePrefs panel.
|
||||
extern PrefsPanel::Factory ModulePrefsFactory;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user