compilation fix for Watcom C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1509,7 +1509,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
// is it a message from the header?
|
// is it a message from the header?
|
||||||
if ( nmhdr->hwndFrom == hwndHdr )
|
if ( nmhdr->hwndFrom == hwndHdr )
|
||||||
{
|
{
|
||||||
|
#ifdef __WATCOMC__
|
||||||
|
HD_NOTIFY *nmHDR = (HD_NOTIFY *)nmhdr;
|
||||||
|
#else
|
||||||
NMHEADER *nmHDR = (NMHEADER *)nmhdr;
|
NMHEADER *nmHDR = (NMHEADER *)nmhdr;
|
||||||
|
#endif
|
||||||
event.m_itemIndex = -1;
|
event.m_itemIndex = -1;
|
||||||
|
|
||||||
switch ( nmhdr->code )
|
switch ( nmhdr->code )
|
||||||
|
Reference in New Issue
Block a user