Itseez/opencv — pull request #3570 by a-wi (2014-12-31 09:18:13+00:00)
Title: Check if _WIN32_IE is defined with proper value in window_w32.cpp.

TBBUTTONINFO struct and BTNS_xxx symbols used in the code need _WIN32_IE defined with at least 0x0500 value (_WIN32_IE_IE50) in order to be included from commctrl.h.
If this value is lower then required then compilation warning is displayed and _WIN32_IE is redefined to the minimal proper value.