1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 15:20:15 +02:00

Fixes for Windows build and run-time problems suggested by Pokechu22

This commit is contained in:
Paul Licameli 2019-06-05 07:14:02 -04:00
parent f951fe0522
commit 2f9322e7f7
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ void ProjectFileIO::UpdatePrefs()
void ProjectFileIO::SetProjectTitle( int number) void ProjectFileIO::SetProjectTitle( int number)
{ {
auto &project = mProject; auto &project = mProject;
auto &window = GetProjectFrame( project ); auto &window = ProjectWindow::Get( project );
wxString name = project.GetProjectName(); wxString name = project.GetProjectName();
// If we are showing project numbers, then we also explicitly show "<untitled>" if there // If we are showing project numbers, then we also explicitly show "<untitled>" if there

View File

@ -780,7 +780,7 @@ void Exporter::DisplayOptions(int index)
} }
#if defined(__WXMSW__) #if defined(__WXMSW__)
mPlugins[mf]->DisplayOptions(mProject, msf); mPlugins[mf]->DisplayOptions( FindProjectFrame( mProject ), msf);
#else #else
mPlugins[mf]->DisplayOptions(mDialog, msf); mPlugins[mf]->DisplayOptions(mDialog, msf);
#endif #endif