- DataBoxes automatically set EditBox editors to true
- This was causing DataBoxes to Refresh() themselves in WSMS when clicking to reposition the cursor
- A possible improvement might be to add a Modifiers flag marking an event as clickThrough so it could be ignored, so that EditBox clickThrough clicks could still be processed
UpdateDirty();
UpdateCaretPosition(true);
- return true;
+ // Return false because DataBoxes automatically set EditBox editor's clickThrough to true for MouseMove events
+ // ( for tool tips -- see 95ee4962c4c7bc3fe0a04aa6a4f98cacada40884)
+ return false;
}
bool OnLeftButtonUp(int x, int y, Modifiers mods)
}
}
mouseMove = false;
- return true;
+ // Return false because DataBoxes automatically set EditBox editor's clickThrough to true for MouseMove events
+ // ( for tool tips -- see 95ee4962c4c7bc3fe0a04aa6a4f98cacada40884)
+ return false;
}
bool OnMouseMove(int mx, int my, Modifiers mods)