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

This commit is contained in:
Maciej Suminski 2013-08-02 10:35:58 +02:00
parent ebc2a4269e
commit 5e474cf87f
1 changed files with 1 additions and 1 deletions

View File

@ -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__