Rename wxListMainWindow::IsInsideCheckBox to IsInsideCheckbox
This commit is contained in:
parent
602111f2b3
commit
c78470b647
@ -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;
|
||||
|
@ -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() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user