1
0
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:
james.k.crook@gmail.com
2011-04-24 17:03:13 +00:00
parent 98fec31a3e
commit 1425847c2f
2 changed files with 5 additions and 2 deletions

View File

@@ -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);