From f3b6e6d3b58810d7da2121976e8ffa522b7db5ec Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 10 Nov 2018 14:59:27 +0100 Subject: [PATCH] Fix date format specification in wxDatePickerCtrlGeneric with wxUSE_INTL=0 Conversion specification for preferred date representation is "%x", not "x". --- src/generic/datectlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 5ddadc3933..7a405e2c9b 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -252,7 +252,7 @@ private: return fmt; #else // !wxUSE_INTL - return wxT("x"); + return wxS("%x"); #endif // wxUSE_INTL/!wxUSE_INTL }