git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51634
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#ifdef wxHAS_XLOCALE_SUPPORT
+
wxXLocale::wxXLocale(wxLanguage lang)
{
const wxLanguageInfo * const info = wxLocale::GetLanguageInfo(lang);
wxXLocale::wxXLocale(wxLanguage lang)
{
const wxLanguageInfo * const info = wxLocale::GetLanguageInfo(lang);
-#ifdef wxHAS_XLOCALE_SUPPORT
-
#if wxCHECK_VISUALC_VERSION(8)
// ----------------------------------------------------------------------------
#if wxCHECK_VISUALC_VERSION(8)
// ----------------------------------------------------------------------------
{
wxCHECK(loc.IsOk(), false);
{
wxCHECK(loc.IsOk(), false);
- if(CTYPE_TEST(c, CTYPE_UPPER))
+ if(CTYPE_TEST(c.GetValue(), CTYPE_UPPER))
{
return c - 'A' + 'a';
}
{
return c - 'A' + 'a';
}
{
wxCHECK(loc.IsOk(), false);
{
wxCHECK(loc.IsOk(), false);
- if(CTYPE_TEST(c, CTYPE_LOWER))
+ if(CTYPE_TEST(c.GetValue(), CTYPE_LOWER))
{
return c - 'a' + 'A';
}
{
return c - 'a' + 'A';
}