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:
parent
f951fe0522
commit
2f9322e7f7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user