diff --git a/include/wx/generic/private/listctrl.h b/include/wx/generic/private/listctrl.h index 8cf57a455a..d489b40b99 100644 --- a/include/wx/generic/private/listctrl.h +++ b/include/wx/generic/private/listctrl.h @@ -853,7 +853,7 @@ private: // Check if the given point is inside the checkbox of this item. // // Always returns false if there are no checkboxes. - bool IsInsideCheckbox(long item, int x, int y); + bool IsInsideCheckBox(long item, int x, int y); // the height of one line using the current font wxCoord m_lineHeight; diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 70bdefab95..519a0e1838 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2579,7 +2579,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) bool cmdModifierDown = event.CmdDown(); if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) ) { - if (IsInsideCheckbox(current, x, y)) + if (IsInsideCheckBox(current, x, y)) { CheckItem(current, !IsItemChecked(current)); } @@ -3736,7 +3736,7 @@ bool wxListMainWindow::IsItemChecked(long item) const return line->IsChecked(); } -bool wxListMainWindow::IsInsideCheckbox(long item, int x, int y) +bool wxListMainWindow::IsInsideCheckBox(long item, int x, int y) { if ( HasCheckBoxes() ) {