Allow using wxLOCALE_CAT_DEFAULT for numeric or money locale info
Make GetInfo() return information for numbers by default in the Unix version too instead of asserting, as this is more consistent with the MSW and Mac versions and also seems more useful.
This commit is contained in:
@@ -116,6 +116,9 @@ enum wxLocaleInfo
|
||||
|
||||
This value can be used with either wxLOCALE_CAT_NUMBER or
|
||||
wxLOCALE_CAT_MONEY categories.
|
||||
|
||||
By default, i.e. when wxLOCALE_CAT_DEFAULT is used, the separator for
|
||||
numbers is returned.
|
||||
*/
|
||||
wxLOCALE_THOUSANDS_SEP,
|
||||
|
||||
@@ -124,6 +127,9 @@ enum wxLocaleInfo
|
||||
|
||||
This value can be used with either wxLOCALE_CAT_NUMBER or
|
||||
wxLOCALE_CAT_MONEY categories.
|
||||
|
||||
By default, i.e. when wxLOCALE_CAT_DEFAULT is used, the decimal point
|
||||
for numbers is returned.
|
||||
*/
|
||||
wxLOCALE_DECIMAL_POINT,
|
||||
|
||||
|
Reference in New Issue
Block a user