Fix for mingw32 compilation (replaced #ifdef NM_CUSTOMDRAW with a test for _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e838cc1468
commit
6ecfe2ac49
@ -1436,7 +1436,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
break;
|
||||
#endif // 0
|
||||
|
||||
#ifdef NM_CUSTOMDRAW
|
||||
#if defined(_WIN32_IE) && _WIN32_IE >= 0x300
|
||||
case NM_CUSTOMDRAW:
|
||||
{
|
||||
LPNMLVCUSTOMDRAW lplvcd = (LPNMLVCUSTOMDRAW)lParam;
|
||||
@ -1517,7 +1517,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
}
|
||||
}
|
||||
break;
|
||||
#endif // NM_CUSTOMDRAW
|
||||
#endif // _WIN32_IE >= 0x300
|
||||
|
||||
default:
|
||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||
|
@ -1568,7 +1568,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
}
|
||||
break;
|
||||
|
||||
#ifdef NM_CUSTOMDRAW
|
||||
#if defined(_WIN32_IE) && _WIN32_IE >= 0x300
|
||||
case NM_CUSTOMDRAW:
|
||||
{
|
||||
LPNMTVCUSTOMDRAW lptvcd = (LPNMTVCUSTOMDRAW)lParam;
|
||||
@ -1663,7 +1663,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
}
|
||||
}
|
||||
break;
|
||||
#endif // NM_CUSTOMDRAW
|
||||
#endif // _WIN32_IE >= 0x300
|
||||
|
||||
default:
|
||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||
|
Loading…
Reference in New Issue
Block a user