mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-05 22:21:15 +01:00
TranslatableString for names, labels, tooltips of wxPanelWrapper...
... and Grabber too
This commit is contained in:
@@ -38,6 +38,26 @@ void wxTabTraversalWrapperCharHook(wxKeyEvent &event)
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxPanelWrapper::SetLabel(const TranslatableString & label)
|
||||
{
|
||||
wxPanel::SetLabel( label.Translation() );
|
||||
}
|
||||
|
||||
void wxPanelWrapper::SetName(const TranslatableString & name)
|
||||
{
|
||||
wxPanel::SetName( name.Translation() );
|
||||
}
|
||||
|
||||
void wxPanelWrapper::SetToolTip(TranslatableString toolTip)
|
||||
{
|
||||
wxPanel::SetToolTip( toolTip.Strip().Translation() );
|
||||
}
|
||||
|
||||
void wxPanelWrapper::SetName()
|
||||
{
|
||||
wxPanel::SetName( GetLabel() );
|
||||
}
|
||||
|
||||
void wxDialogWrapper::SetTitle(const TranslatableString & title)
|
||||
{
|
||||
wxDialog::SetTitle( title.Translation() );
|
||||
|
||||
Reference in New Issue
Block a user