X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/346f42313b4b540124a53091f861468cd7cc6e15..1320116514558cf465247b15f2458a8b23ee7724:/samples/internat/internat.cpp?ds=sidebyside diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index dd1fe4bbd8..661a990669 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -191,12 +191,10 @@ bool MyApp::OnInit() } // normally this wouldn't be necessary as the catalog files would be found - // in the default locations, but under Windows then the program is not - // installed the catalogs are in the parent directory (because the binary - // is in a subdirectory of samples/internat) where we wouldn't find them by + // in the default locations, but when the program is not installed the + // catalogs are in the build directory where we wouldn't find them by // default wxLocale::AddCatalogLookupPathPrefix(wxT(".")); - wxLocale::AddCatalogLookupPathPrefix(wxT("..")); // Initialize the catalogs we'll be using m_locale.AddCatalog(wxT("internat"));