mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-19 15:06:07 +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()
|
AudacityLogger *AudacityApp::GetLogger()
|
||||||
{
|
{
|
||||||
return wxStaticCast(wxLog::GetActiveTarget(), AudacityLogger);
|
return wxDynamicCast(wxLog::GetActiveTarget(), AudacityLogger);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityApp::InitLang( const wxString & lang )
|
void AudacityApp::InitLang( const wxString & lang )
|
||||||
|
|||||||
Reference in New Issue
Block a user