Commit 5e474cf8 authored by Maciej Suminski's avatar Maciej Suminski

Modified usage of wxStandardPaths to make it compatible with newer versions of wxWidgets.

parent ebc2a426
...@@ -454,7 +454,7 @@ bool EDA_APP::SetBinDir() ...@@ -454,7 +454,7 @@ bool EDA_APP::SetBinDir()
// Linux and Unix // Linux and Unix
#elif defined(__UNIX__) #elif defined(__UNIX__)
m_BinDir = wxStandardPaths().GetExecutablePath(); m_BinDir = wxStandardPaths::Get().GetExecutablePath();
#else #else
m_BinDir = argv[0]; m_BinDir = argv[0];
#endif // __UNIX__ #endif // __UNIX__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment