mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Fixed incorrect use of wxStaticCast.
We need wxDynamicCast because we are casting to a derived type. wx3.0.1 complains otherwise.
This commit is contained in:
@@ -924,7 +924,7 @@ bool AudacityApp::ShouldShowMissingAliasedFileWarning()
|
||||
|
||||
AudacityLogger *AudacityApp::GetLogger()
|
||||
{
|
||||
return wxStaticCast(wxLog::GetActiveTarget(), AudacityLogger);
|
||||
return wxDynamicCast(wxLog::GetActiveTarget(), AudacityLogger);
|
||||
}
|
||||
|
||||
void AudacityApp::InitLang( const wxString & lang )
|
||||
|
||||
Reference in New Issue
Block a user