Point coordinates passed from wxDataViewCtrl::HitTest() to wxDataViewMainWindow::HitTest() should be converted from wxDataViewCtrl client coordinates to wxDataViewMainWindow client coordinates because they can different due to the presence of the header in wxDataViewCtrl client area.