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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user