1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

TranslatableString for list control column headers, menus

This commit is contained in:
Paul Licameli
2019-12-23 17:57:45 -05:00
parent 6b235bdec5
commit 455d3185a8
10 changed files with 23 additions and 22 deletions

View File

@@ -313,11 +313,12 @@ public:
struct ListControlColumn{
ListControlColumn(
wxString h, int f = wxLIST_FORMAT_LEFT, int w = wxLIST_AUTOSIZE)
const TranslatableString &h,
int f = wxLIST_FORMAT_LEFT, int w = wxLIST_AUTOSIZE)
: heading(h), format(f), width(w)
{}
wxString heading;
TranslatableString heading;
int format;
int width;
};
@@ -340,7 +341,7 @@ public:
wxChoice * AddChoice( const TranslatableString &Prompt,
const TranslatableStrings &choices, const TranslatableString &selected );
wxMenuBar * AddMenuBar( );
wxMenu * AddMenu( const wxString & Title );
wxMenu * AddMenu( const TranslatableString & Title );
void AddIcon( wxBitmap * pBmp);
void AddIconButton( const wxString & Command, const wxString & Params,wxBitmap * pBmp );
void AddFixedText(