From 24f333d4a8beb5d290174c1a139d9df1a2d773e7 Mon Sep 17 00:00:00 2001 From: Gerald Schmidt Date: Thu, 13 Sep 2007 21:21:43 +0000 Subject: [PATCH] Ongoing work on i18n (Linux port). --- src/xmlcopyeditor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index 2d558fe..516fe7e 100755 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -267,15 +267,15 @@ MyApp::MyApp() : checker ( NULL ), server ( NULL ), connection ( NULL ), wxLocale::AddCatalogLookupPathPrefix ( wxT ( "." ) ); wxLocale::AddCatalogLookupPathPrefix ( wxT ( ".." ) ); -#ifdef __LINUX__ +#ifndef __WXMSW__ wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" ); wxLocale::AddCatalogLookupPathPrefix ( poDir ); #endif if ( !myLocale.AddCatalog ( _T ( "messages" ) ) ) - ; + ; -#ifdef __LINUX__ +#ifndef __WXMSW__ { wxLogNull noLog; myLocale.AddCatalog ( _T ( "fileutils" ) );