Add wxStandardPaths::GetSharedLibrariesDir()

This function returns the directory with the application's shared
libraries, which is different from the plugins directory under Mac.

Closes #24052.
This commit is contained in:
oneeyeman1 2024-01-27 12:43:34 -06:00 committed by Vadim Zeitlin
parent f82ccc1a19
commit 91de9867ee
10 changed files with 47 additions and 1 deletions

View file

@ -403,6 +403,7 @@ void InteractiveOutputTestCase::TestStandardPaths()
wxPrintf(wxT("Executable path:\t%s\n"), stdp.GetExecutablePath());
wxPrintf(wxT("Plugins dir:\t\t%s\n"), stdp.GetPluginsDir());
wxPrintf(wxT("Resources dir:\t\t%s\n"), stdp.GetResourcesDir());
wxPrintf( "Shared Libraries dir:\t\t%s\n", stdp.GetSharedLibrariesDir() );
wxPrintf(wxT("Localized res. dir:\t%s\n"),
stdp.GetLocalizedResourcesDir(wxT("fr")));
wxPrintf(wxT("Message catalogs dir:\t%s\n"),