Clarify comments in the private uilocale.h

No real changes.

Co-Authored-By: Václav Slavík <vaclav@slavik.io>
This commit is contained in:
Vadim Zeitlin
2021-09-04 15:13:53 +02:00
parent 4c9c5d08cb
commit f2cd6344af

View File

@@ -16,7 +16,7 @@
typedef wxVector<wxLanguageInfo> wxLanguageInfos; typedef wxVector<wxLanguageInfo> wxLanguageInfos;
// Return the vector of all known languages. // Return the vector of all languages known to wx.
const wxLanguageInfos& wxGetLanguageInfos(); const wxLanguageInfos& wxGetLanguageInfos();
// Function returning hard-coded values for the "C" locale. // Function returning hard-coded values for the "C" locale.
@@ -48,7 +48,8 @@ public:
static wxUILocaleImpl* CreateForLocale(const wxLocaleIdent& locId); static wxUILocaleImpl* CreateForLocale(const wxLocaleIdent& locId);
// This function exists only for wxLocale compatibility and creates the // 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, // It is implemented in terms of CreateForLocale() for non-MSW platforms,
// but under MSW it is different for compatibility reasons. // but under MSW it is different for compatibility reasons.