1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Added a sort method to the TreeView class.

This commit is contained in:
Julian Storer 2010-02-03 23:03:38 +00:00
parent 22ecd45505
commit fe4a37ef49
6 changed files with 84 additions and 8 deletions

View file

@ -2735,11 +2735,11 @@ void Component::internalMouseDrag (int x, int y, const int64 time)
x += unboundedMouseOffsetX;
y += unboundedMouseOffsetY;
int gx = x, gy = y;
relativePositionToGlobal (gx, gy);
desktop.registerMouseDrag (gx, gy);
const ComponentDeletionWatcher deletionChecker (this);
int mdx, mdy;
@ -2747,7 +2747,7 @@ void Component::internalMouseDrag (int x, int y, const int64 time)
globalPositionToRelative (mdx, mdy);
const Time lastMouseDownTime (desktop.getLastMouseDownTime());
const MouseEvent me (x, y,
ModifierKeys::getCurrentModifiers(),
this,