1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +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:
james.k.crook@gmail.com
2014-10-10 11:21:01 +00:00
parent f140c0249a
commit 66b3eb3d71

View File

@@ -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 )