Audacity 3.2.0
Public Member Functions | List of all members
anonymous_namespace{LogWindow.cpp}::LogWindowUpdater Struct Reference
Inheritance diagram for anonymous_namespace{LogWindow.cpp}::LogWindowUpdater:
[legend]
Collaboration diagram for anonymous_namespace{LogWindow.cpp}::LogWindowUpdater:
[legend]

Public Member Functions

void UpdatePrefs () override
 
- Public Member Functions inherited from PrefsListener
 PrefsListener ()
 
virtual ~PrefsListener ()
 
virtual void UpdatePrefs ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
 
- Protected Member Functions inherited from PrefsListener
virtual void UpdateSelectedPrefs (int id)
 

Detailed Description

Definition at line 46 of file LogWindow.cpp.

Member Function Documentation

◆ UpdatePrefs()

void anonymous_namespace{LogWindow.cpp}::LogWindowUpdater::UpdatePrefs ( )
overridevirtual

Re-create the non-modal window in case of change of preferred language

Implements PrefsListener.

Definition at line 236 of file LogWindow.cpp.

237{
239 if (sFrame) {
240 bool shown = sFrame->IsShown();
241 if (shown) {
242 LogWindow::Show(false);
243 }
244 sFrame.reset();
245 if (shown) {
246 LogWindow::Show(true);
247 }
248 }
249}
static void Show(bool show=true)
Show or hide the unique logging window; create it on demand the first time it is shown.
Definition: LogWindow.cpp:61
Destroy_ptr< wxFrame > sFrame
Definition: LogWindow.cpp:43

References anonymous_namespace{LogWindow.cpp}::sFrame, and LogWindow::Show().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: