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()
|
||||
{
|
||||
return wxStaticCast(wxLog::GetActiveTarget(), AudacityLogger);
|
||||
return wxDynamicCast(wxLog::GetActiveTarget(), AudacityLogger);
|
||||
}
|
||||
|
||||
void AudacityApp::InitLang( const wxString & lang )
|
||||
|
|
Loading…
Reference in New Issue