Audacity 3.2.0
Functions
anonymous_namespace{ProjectSettings.cpp} Namespace Reference

Functions

void Notify (AudacityProject &project, ProjectSettings::EventCode code, long previousValue)
 

Function Documentation

◆ Notify()

void anonymous_namespace{ProjectSettings.cpp}::Notify ( AudacityProject project,
ProjectSettings::EventCode  code,
long  previousValue 
)

Definition at line 26 of file ProjectSettings.cpp.

29 {
30 wxCommandEvent e{ EVT_PROJECT_SETTINGS_CHANGE };
31 e.SetInt( static_cast<int>( code ) );
32 e.SetExtraLong( previousValue );
33 project.ProcessEvent( e );
34 }

Referenced by NotifyingSelectedRegion::operator=(), ProjectSettings::SetSyncLock(), and ProjectSettings::SetTool().

Here is the caller graph for this function: