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