changed LVHITTESTINFO to LV_HITTESTINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1357,11 +1357,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
}
|
||||
|
||||
// else translate it into wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK event
|
||||
LVHITTESTINFO lvhti;
|
||||
LV_HITTESTINFO lvhti;
|
||||
#ifdef __GNUWIN32__
|
||||
memset(&lvhti,0,sizeof(LVHITTESTINFO));
|
||||
memset(&lvhti,0,sizeof(LV_HITTESTINFO));
|
||||
#else
|
||||
ZeroMemory(&lvhti, sizeof(LVHITTESTINFO)); // must set all fields to 0
|
||||
ZeroMemory(&lvhti, sizeof(LV_HITTESTINFO)); // must set all fields to 0
|
||||
#endif
|
||||
::GetCursorPos(&(lvhti.pt));
|
||||
::ScreenToClient(GetHwnd(),&(lvhti.pt));
|
||||
|
Reference in New Issue
Block a user