Revert "Fix off by 1 error in wxGenericListCtrl::HitTest()."
Revert r73563, this breaks the selection in the control apparently. See #15063. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -621,7 +621,6 @@ All (GUI):
|
|||||||
- Add wxMask::GetBitmap() for wxMSW, wxGTK and wxOSX
|
- Add wxMask::GetBitmap() for wxMSW, wxGTK and wxOSX
|
||||||
- Add wxCheckListBox::GetCheckedItems() (hartwigw).
|
- Add wxCheckListBox::GetCheckedItems() (hartwigw).
|
||||||
- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones).
|
- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones).
|
||||||
- Fix off by 1 error in wxGenericListCtrl::HitTest() (Daniel Hyams).
|
|
||||||
- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat).
|
- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat).
|
||||||
|
|
||||||
wxGTK:
|
wxGTK:
|
||||||
|
@@ -4144,10 +4144,6 @@ long wxListMainWindow::HitTest( int x, int y, int &flags ) const
|
|||||||
|
|
||||||
if ( InReportView() )
|
if ( InReportView() )
|
||||||
{
|
{
|
||||||
// Account for the header height if it's present.
|
|
||||||
if ( HasHeader() )
|
|
||||||
y -= GetListCtrl()->m_headerWin->GetSize().y + 1;
|
|
||||||
|
|
||||||
size_t current = y / GetLineHeight();
|
size_t current = y / GetLineHeight();
|
||||||
if ( current < count )
|
if ( current < count )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user