mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Changes for VC6 comptibility. Fixed a typo in BitArray::toString.
This commit is contained in:
parent
03b54862c5
commit
ce7def1f9d
11 changed files with 362 additions and 216 deletions
|
|
@ -125,7 +125,10 @@ public:
|
|||
|
||||
void mouseDrag (const MouseEvent& e)
|
||||
{
|
||||
if (isEnabled() && ! (e.mouseWasClicked() || isDragging))
|
||||
if (isEnabled()
|
||||
&& ! (isDragging || e.mouseWasClicked()
|
||||
|| e.getDistanceFromDragStart() < 5
|
||||
|| e.mods.isPopupMenu()))
|
||||
{
|
||||
isDragging = true;
|
||||
|
||||
|
|
@ -886,7 +889,7 @@ TreeViewItem* TreeView::getInsertPosition (int& x, int& y, int& insertIndex,
|
|||
insertIndex = 0;
|
||||
TreeViewItem* item = getItemAt (y);
|
||||
|
||||
if (item == 0 || item->parentItem == 0)
|
||||
if (item == 0)
|
||||
return 0;
|
||||
|
||||
Rectangle itemPos (item->getItemPosition (true));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue