1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-29 16:53:51 +01:00

Bug 1872 - Most Non-Modal dialogs do not update buttons when language changed

This commit is contained in:
Leland Lucius
2021-02-14 01:25:52 -06:00
parent 0ab7645105
commit 20ace313fa
13 changed files with 279 additions and 79 deletions

View File

@@ -14,10 +14,14 @@
#include <wx/frame.h> // to inherit
#include "Prefs.h"
class AudacityProject;
class LyricsPanel;
class LyricsWindow final : public wxFrame {
class LyricsWindow final : public wxFrame,
public PrefsListener
{
public:
LyricsWindow(AudacityProject* parent);
@@ -31,6 +35,11 @@ class LyricsWindow final : public wxFrame {
void OnStyle_Highlight(wxCommandEvent &evt);
void OnTimer(wxCommandEvent &event);
void SetWindowTitle();
// PrefsListener implementation
void UpdatePrefs() override;
AudacityProject *mProject;
LyricsPanel *mLyricsPanel;