mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-01 07:42:40 -06:00
CtrlLib: Fix of recent fix in Multibutton
git-svn-id: svn://ultimatepp.org/upp/trunk@1536 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6626fafb9a
commit
944a02142f
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ void MultiButton::Paint(Draw& w)
|
|||
void MultiButton::MouseMove(Point p, dword flags)
|
||||
{
|
||||
int h = FindButton(p.x);
|
||||
Ctrl::Tip(h >= 0 ? Nvl(button[hl].tip, tip) : tip);
|
||||
Ctrl::Tip(h >= 0 && h < button.GetCount() ? Nvl(button[h].tip, tip) : tip);
|
||||
if(hl != h) {
|
||||
hl = h;
|
||||
Refresh();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue