mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02: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:
parent
f140c0249a
commit
66b3eb3d71
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user