mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Each toolbar registers its menu item
This commit is contained in:
@@ -28,9 +28,10 @@ class wxEvtHandler;
|
||||
// couldn't satisfy the requirement for both base classes at once.
|
||||
using CommandHandlerObject = wxEvtHandler;
|
||||
|
||||
// First of two function pointers registered with each command: an extractor
|
||||
// First of two functions registered with each command: an extractor
|
||||
// of the handler object from the AudacityProject
|
||||
using CommandHandlerFinder = CommandHandlerObject &(*)(AudacityProject&);
|
||||
using CommandHandlerFinder =
|
||||
std::function< CommandHandlerObject&(AudacityProject &) >;
|
||||
|
||||
// Second of two function pointers registered with each command: a pointer
|
||||
// to a member function of the handler object
|
||||
|
||||
Reference in New Issue
Block a user