#260 atlsplit.h compile error with _ATL_NO_MSIMG defined

v1.0 (example)
closed-fixed
None
5
2014-02-17
2013-03-19
Marcel Raad
No

With _ATL_NO_MSIMG defined, there is no function CDCT::GradientFillRect (atlgdi.h). CSplitterImpl::DrawSplitterBar (atlsplit.h) calls this function and checks only for _WIN32_WCE, not for _ATL_NO_MSIMG. Affected Versions are 8.1.11324+.

Discussion

    • assigned_to: Nenad Stefanovic
    • Group: --> v1.0 (example)
     
    • status: open --> closed-fixed
     
  • Fixed by checking for _ATL_NO_MSIMG. SPLIT_GRADIENTBAR has no effect if _ATL_NO_MSIMG is defined.