in report mode (mandatory for wxEditableListBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14640
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( ld->HasImage() && GetLineIconRect(line).Inside(x, y) )
return wxLIST_HITTEST_ONITEMICON;
if ( ld->HasImage() && GetLineIconRect(line).Inside(x, y) )
return wxLIST_HITTEST_ONITEMICON;
+ // VS: Testing for "ld->HasText() || InReportView()" instead of
+ // "ld->HasText()" is needed to make empty lines in report view
+ // possible
+ if ( ld->HasText() || InReportView() )
{
wxRect rect = InReportView() ? GetLineRect(line)
: GetLineLabelRect(line);
{
wxRect rect = InReportView() ? GetLineRect(line)
: GetLineLabelRect(line);