Modified usage of wxStandardPaths to make it compatible with newer versions of wxWidgets.
This commit is contained in:
parent
ebc2a4269e
commit
5e474cf87f
|
@ -454,7 +454,7 @@ bool EDA_APP::SetBinDir()
|
|||
|
||||
// Linux and Unix
|
||||
#elif defined(__UNIX__)
|
||||
m_BinDir = wxStandardPaths().GetExecutablePath();
|
||||
m_BinDir = wxStandardPaths::Get().GetExecutablePath();
|
||||
#else
|
||||
m_BinDir = argv[0];
|
||||
#endif // __UNIX__
|
||||
|
|
Loading…
Reference in New Issue