WINE is so fine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -666,7 +666,11 @@ bool wxListCtrl::GetItemRect(long item, wxRect& rect, int code) const
|
||||
else if ( code == wxLIST_RECT_LABEL )
|
||||
code2 = LVIR_LABEL;
|
||||
|
||||
#ifdef __WXWINE__
|
||||
bool success = (ListView_GetItemRect((HWND) GetHWND(), (int) item, &rect2 ) != 0);
|
||||
#else
|
||||
bool success = (ListView_GetItemRect((HWND) GetHWND(), (int) item, &rect2, code2) != 0);
|
||||
#endif
|
||||
|
||||
rect.x = rect2.left;
|
||||
rect.y = rect2.top;
|
||||
|
Reference in New Issue
Block a user