(svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not

to allow clicking if a button was disabled. This has been superseded in r212 with
 general code that doesn't allow any click events for disabled buttons.
This commit is contained in:
Darkvater
2006-10-27 13:48:56 +00:00
parent 940acf4e4d
commit 64a2205517
5 changed files with 12 additions and 15 deletions

View File

@@ -110,7 +110,6 @@ static void DispatchLeftClickEvent(Window *w, int x, int y)
case WWT_TEXTBTN | WWB_PUSHBUTTON: /* WWT_PUSHTXTBTN */
HandleButtonClick(w, e.we.click.widget);
break;
case WWT_NODISTXTBTN: break;
}
} else if (wi->type == WWT_SCROLLBAR || wi->type == WWT_SCROLL2BAR || wi->type == WWT_HSCROLLBAR) {
ScrollbarClickHandler(w, wi, e.we.click.pt.x, e.we.click.pt.y);