Remove obsolete test for HDN_BEGINTRACKA being defined
It's used without this test in src/msw/headerctrl.cpp, so we can be sure using this symbol doesn't create any problems any more.
This commit is contained in:
parent
fe716b3c8e
commit
c592363e95
@ -1998,11 +1998,6 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
|
||||
NMHDR *nmhdr = (NMHDR *)lParam;
|
||||
|
||||
// if your compiler is as broken as this, you should really change it: this
|
||||
// code is needed for normal operation! #ifdef below is only useful for
|
||||
// automatic rebuilds which are done with a very old compiler version
|
||||
#ifdef HDN_BEGINTRACKA
|
||||
|
||||
// check for messages from the header (in report view)
|
||||
HWND hwndHdr = ListView_GetHeader(GetHwnd());
|
||||
|
||||
@ -2097,9 +2092,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
if ( ignore )
|
||||
return wxListCtrlBase::MSWOnNotify(idCtrl, lParam, result);
|
||||
}
|
||||
else
|
||||
#endif // defined(HDN_BEGINTRACKA)
|
||||
if ( nmhdr->hwndFrom == GetHwnd() )
|
||||
else if ( nmhdr->hwndFrom == GetHwnd() )
|
||||
{
|
||||
// almost all messages use NM_LISTVIEW
|
||||
NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;
|
||||
|
Loading…
Reference in New Issue
Block a user