Browse Source

Fixed a VS2013 compiler error

tags/2021-05-28
tpoole 8 years ago
parent
commit
8aca5604eb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/widgets/juce_TreeView.cpp

+ 2
- 2
modules/juce_gui_basics/widgets/juce_TreeView.cpp View File

@@ -1082,7 +1082,7 @@ void TreeView::fileDragEnter (const StringArray& files, int x, int y)
void TreeView::fileDragMove (const StringArray& files, int x, int y) void TreeView::fileDragMove (const StringArray& files, int x, int y)
{ {
handleDrag (files, SourceDetails ({}, this, { x, y }));
handleDrag (files, SourceDetails (var(), this, { x, y }));
} }
void TreeView::fileDragExit (const StringArray&) void TreeView::fileDragExit (const StringArray&)
@@ -1092,7 +1092,7 @@ void TreeView::fileDragExit (const StringArray&)
void TreeView::filesDropped (const StringArray& files, int x, int y) void TreeView::filesDropped (const StringArray& files, int x, int y)
{ {
handleDrop (files, SourceDetails ({}, this, { x, y }));
handleDrop (files, SourceDetails (var(), this, { x, y }));
} }
bool TreeView::isInterestedInDragSource (const SourceDetails& /*dragSourceDetails*/) bool TreeView::isInterestedInDragSource (const SourceDetails& /*dragSourceDetails*/)


Loading…
Cancel
Save