Fix compile issues on non-mac

This commit is contained in:
Seth Hillbrand 2021-09-19 08:41:10 -07:00
parent bdb1231169
commit c088de5f75
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ void LaunchExternal( const wxString& aPath )
// Not needed on 3.1.4, but needed in 3.0 versions
// Moreover, on Linux, on 3.1.4 wx version, adding quotes breaks
// wxLaunchDefaultApplication
AddDelimiterString( path );
QuoteString( path );
#endif
wxLaunchDefaultApplication( path );

View File

@ -230,7 +230,7 @@ void PROJECT_TREE_PANE::onOpenDirectory( wxCommandEvent& event )
// Not needed on 3.1.4, but needed in 3.0 versions
// Moreover, on Linux, on 3.1.4 wx version, adding quotes breaks
// wxLaunchDefaultApplication
AddDelimiterString( curr_dir );
QuoteString( curr_dir );
#endif
wxLaunchDefaultApplication( curr_dir );