Added wxUSE_XLOCALE ifdef guard to wxTimePickerGenericImp

Allow to compile wxQT when configure with --disable-xlocal

Thanks @seandepagnier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mariano Reingart
2015-01-19 02:38:19 +00:00
parent 437af7bcff
commit f4c0e0c342

View File

@@ -85,7 +85,11 @@ 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
m_useAMPM = wxLocale::GetInfo(wxLOCALE_TIME_FMT).Contains("%p");
#else
m_useAMPM = false;
#endif
m_text->Connect
(