From f27103846110329bdd74c3229596ff3e229be1b0 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 8 Dec 2007 03:10:50 +0000 Subject: (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function --- src/depot_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot_gui.cpp') diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 17d8b06d1..3e9cf359d 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -916,7 +916,7 @@ static void DepotWndProc(Window *w, WindowEvent *e) if (w->IsWidgetDisabled(e->we.click.widget)) return; if (WP(w, depot_d).sel == INVALID_VEHICLE) return; - HandleButtonClick(w, e->we.click.widget); + w->HandleButtonClick(e->we.click.widget); v = GetVehicle(WP(w, depot_d).sel); WP(w, depot_d).sel = INVALID_VEHICLE; -- cgit v1.2.3-54-g00ecf