From 41898c8dc406aef32b959d27eac70524b76b9b9a Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 10 Nov 2018 14:49:52 +0100 Subject: [PATCH] Compilation fix for wxUSE_INTL=0 build --- src/generic/timectrlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;