diff --git a/src/generic/timectrlg.cpp b/src/generic/timectrlg.cpp index 4037d6f56d..efa0af028d 100644 --- a/src/generic/timectrlg.cpp +++ b/src/generic/timectrlg.cpp @@ -86,7 +86,7 @@ public: // nice to add support to "%k" and "%l" (hours with leading blanks // instead of zeros) too as this is the most common unsupported case in // practice. -#if wxUSE_XLOCALE +#if wxUSE_INTL m_useAMPM = wxLocale::GetInfo(wxLOCALE_TIME_FMT).Contains("%p"); #else m_useAMPM = false;