From f2cd6344af350fc176bf07c660f699e7f9d877a4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Sep 2021 15:13:53 +0200 Subject: [PATCH] Clarify comments in the private uilocale.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No real changes. Co-Authored-By: Václav Slavík --- include/wx/private/uilocale.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/private/uilocale.h b/include/wx/private/uilocale.h index e2ab82279d..83a1041624 100644 --- a/include/wx/private/uilocale.h +++ b/include/wx/private/uilocale.h @@ -16,7 +16,7 @@ typedef wxVector wxLanguageInfos; -// Return the vector of all known languages. +// Return the vector of all languages known to wx. const wxLanguageInfos& wxGetLanguageInfos(); // Function returning hard-coded values for the "C" locale. @@ -48,7 +48,8 @@ public: static wxUILocaleImpl* CreateForLocale(const wxLocaleIdent& locId); // This function exists only for wxLocale compatibility and creates the - // locale corresponding to the given language. + // locale corresponding to the given language. It shouldn't be used + // anywhere else. // // It is implemented in terms of CreateForLocale() for non-MSW platforms, // but under MSW it is different for compatibility reasons.