From 00811ff91895793379468492648d56223f4f70f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 8 Dec 2001 23:26:22 +0000 Subject: [PATCH] compilation fix for Watcom C++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index be0e6c5bac..6b4a882131 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1509,7 +1509,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // is it a message from the header? if ( nmhdr->hwndFrom == hwndHdr ) { +#ifdef __WATCOMC__ + HD_NOTIFY *nmHDR = (HD_NOTIFY *)nmhdr; +#else NMHEADER *nmHDR = (NMHEADER *)nmhdr; +#endif event.m_itemIndex = -1; switch ( nmhdr->code ) -- 2.45.2