mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Fixed external linkage (DLL_API) for CommandManager so that menus become visible externally.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include "../AudacityApp.h"
|
||||
#include "../xml/XMLTagHandler.h"
|
||||
|
||||
class CommandFunctor
|
||||
class AUDACITY_DLL_API CommandFunctor
|
||||
{
|
||||
public:
|
||||
CommandFunctor(){};
|
||||
@@ -90,6 +90,9 @@ class AUDACITY_DLL_API CommandManager: public XMLTagHandler
|
||||
|
||||
wxMenu* BeginSubMenu(wxString tName);
|
||||
void EndSubMenu();
|
||||
void SetToMenu( wxMenu * menu ){
|
||||
mCurrentMenu = menu;
|
||||
};
|
||||
|
||||
void InsertItem(wxString name, wxString label, CommandFunctor *callback,
|
||||
wxString after, int checkmark = -1);
|
||||
|
Reference in New Issue
Block a user