Rename wxListMainWindow::IsInsideCheckBox to IsInsideCheckbox

This commit is contained in:
Dimitri Schoolwerth
2016-04-21 17:47:10 +00:00
parent 602111f2b3
commit c78470b647
2 changed files with 3 additions and 3 deletions

View File

@@ -853,7 +853,7 @@ private:
// Check if the given point is inside the checkbox of this item. // Check if the given point is inside the checkbox of this item.
// //
// Always returns false if there are no checkboxes. // 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 // the height of one line using the current font
wxCoord m_lineHeight; wxCoord m_lineHeight;

View File

@@ -2579,7 +2579,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
bool cmdModifierDown = event.CmdDown(); bool cmdModifierDown = event.CmdDown();
if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) ) if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) )
{ {
if (IsInsideCheckbox(current, x, y)) if (IsInsideCheckBox(current, x, y))
{ {
CheckItem(current, !IsItemChecked(current)); CheckItem(current, !IsItemChecked(current));
} }
@@ -3736,7 +3736,7 @@ bool wxListMainWindow::IsItemChecked(long item) const
return line->IsChecked(); return line->IsChecked();
} }
bool wxListMainWindow::IsInsideCheckbox(long item, int x, int y) bool wxListMainWindow::IsInsideCheckBox(long item, int x, int y)
{ {
if ( HasCheckBoxes() ) if ( HasCheckBoxes() )
{ {