(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function

This commit is contained in:
belugas
2007-12-08 03:10:50 +00:00
parent 902b20263c
commit f271038461
8 changed files with 26 additions and 35 deletions

View File

@@ -755,7 +755,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e)
case NSSW_SPECTATORS_BTND: case NSSW_SPECTATORS_BTNU: // Click on up/down button for number of spectators
/* Don't allow too fast scrolling */
if ((w->flags4 & WF_TIMEOUT_MASK) <= 2 << WF_TIMEOUT_SHL) {
HandleButtonClick(w, e->we.click.widget);
w->HandleButtonClick(e->we.click.widget);
SetWindowDirty(w);
switch (e->we.click.widget) {
default: NOT_REACHED();