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:
@@ -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
|
||||
(
|
||||
|
Reference in New Issue
Block a user