Changed configuration file as its location changed in latest wxWidgets anyway
This commit is contained in:
parent
91051e461e
commit
7393b46ab8
|
@ -186,8 +186,8 @@ END_EVENT_TABLE()
|
||||||
IMPLEMENT_APP ( MyApp)
|
IMPLEMENT_APP ( MyApp)
|
||||||
|
|
||||||
MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
|
MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) && !wxCHECK_VERSION(2,9,2)
|
||||||
config ( new wxFileConfig ( _T ( ".xmlcopyeditor" ) ) )//( _T ( "SourceForge Project\\XML Copy Editor" ) ) )
|
config ( new wxFileConfig ( _T ( ".xmlcopyeditor" ) ) )//( _T ( "SourceForge Project\\XML Copy Editor" ) ) )
|
||||||
#else
|
#else
|
||||||
config ( new wxFileConfig ( _T ( "xmlcopyeditor" ) ) )
|
config ( new wxFileConfig ( _T ( "xmlcopyeditor" ) ) )
|
||||||
#endif
|
#endif
|
||||||
|
@ -295,6 +295,8 @@ MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ),
|
||||||
#ifndef __WXMSW__
|
#ifndef __WXMSW__
|
||||||
wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" ) + wxFileName::GetPathSeparator();
|
wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" ) + wxFileName::GetPathSeparator();
|
||||||
wxLocale::AddCatalogLookupPathPrefix ( poDir );
|
wxLocale::AddCatalogLookupPathPrefix ( poDir );
|
||||||
|
#else
|
||||||
|
wxLocale::AddCatalogLookupPathPrefix ( wxT ( "po" ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( !myLocale.AddCatalog ( _T ( "messages" ) ) )
|
if ( !myLocale.AddCatalog ( _T ( "messages" ) ) )
|
||||||
|
|
Loading…
Reference in New Issue