X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3103e8a97e834e9793f0eb149aa82a99fd64ef9a..10793ebfbb49d48e6a97f8e2d02081f458bd80b4:/src/msw/datectrl.cpp diff --git a/src/msw/datectrl.cpp b/src/msw/datectrl.cpp index c0d3396ddc..ec84f53d88 100644 --- a/src/msw/datectrl.cpp +++ b/src/msw/datectrl.cpp @@ -111,6 +111,7 @@ wxDatePickerCtrl::Create(wxWindow *parent, return false; } +#if wxUSE_DYNLIB_CLASS INITCOMMONCONTROLSEX icex; icex.dwSize = sizeof(icex); icex.dwICC = ICC_DATE_CLASSES; @@ -126,6 +127,7 @@ wxDatePickerCtrl::Create(wxWindow *parent, } s_initDone = true; +#endif }