X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad9f477da56634d82b6e26ee380dfa78dda52da0..7d9d1fd7088fb2d9f27da3d4c232029807c4eeb7:/src/msw/listctrl.cpp?ds=sidebyside 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 )