Added sqltypes.h (for Cygwin b20), some other Cygwin fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1365,6 +1365,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
||||
#endif
|
||||
::GetCursorPos(&(lvhti.pt));
|
||||
::ScreenToClient(GetHwnd(),&(lvhti.pt));
|
||||
|
||||
#ifndef LVHT_ONITEM
|
||||
#define LVHT_ONITEM (LVHT_ONITEMICON|LVHT_ONITEMLABEL|LVHT_ONITEMSTATEICON)
|
||||
#endif
|
||||
|
||||
if(ListView_HitTest(GetHwnd(),&lvhti)!=-1) {
|
||||
if(lvhti.flags & LVHT_ONITEM) {
|
||||
eventType = wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK;
|
||||
|
Reference in New Issue
Block a user