wxWidgets 2.8 compatibility fix.

This commit is contained in:
Maciej Suminski 2013-04-23 18:20:45 +02:00
parent 4868af8b62
commit bb3f3d063f
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ EDA_DRAW_PANEL_GAL::EDA_DRAW_PANEL_GAL( wxWindow* aParentWindow, wxWindowID aWin
wxStandardPaths paths;
wxFileName executableFile( paths.GetExecutablePath() );
m_galShaderPath = std::string( executableFile.GetPath() + "/../../common/gal/opengl/shader/" );
m_galShaderPath = std::string( ( executableFile.GetPath() +
wxT( "/../../common/gal/opengl/shader/" ) ).mb_str() );
SwitchBackend( aGalType, false );
SetBackgroundStyle( wxBG_STYLE_CUSTOM );