diff options
author | rubidium <rubidium@openttd.org> | 2007-12-02 14:29:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-02 14:29:48 +0000 |
commit | 527b72749d5160eceb6e5999c0f329701b14ee47 (patch) | |
tree | e58f8a4999ff6c34bc01aae8c8c413ceee96650c /src/transparency_gui.cpp | |
parent | 50fced3c66b6af28856e3776ca0e7a0799cb9827 (diff) | |
download | openttd-527b72749d5160eceb6e5999c0f329701b14ee47.tar.xz |
(svn r11555) -Codechange: use the new members introduced in r11551.
Diffstat (limited to 'src/transparency_gui.cpp')
-rw-r--r-- | src/transparency_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp index d66f494b9..1dd64a32e 100644 --- a/src/transparency_gui.cpp +++ b/src/transparency_gui.cpp @@ -37,7 +37,7 @@ static void TransparencyToolbWndProc(Window *w, WindowEvent *e) /* must be sure that the widgets show the transparency variable changes * also when we use shortcuts */ for (uint i = TTW_WIDGET_SIGNS; i < TTW_WIDGET_END; i++) { - SetWindowWidgetLoweredState(w, i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); + w->SetWidgetLoweredState(i, IsTransparencySet((TransparencyOption)(i - TTW_WIDGET_SIGNS))); } DrawWindowWidgets(w); break; |