1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 18:02:37 +01:00

Codechange: replace SetDataTip(STR_ with SetStringTip(STR_

This commit is contained in:
Rubidium
2025-01-02 11:28:18 +01:00
committed by rubidium42
parent 7d8bbd4669
commit 4bf36e3fa6
58 changed files with 899 additions and 899 deletions

View File

@@ -217,7 +217,7 @@ static_assert(CHT_NUM_CHEATS == lengthof(_cheats_ui));
static constexpr NWidgetPart _nested_cheat_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY),
NWidget(WWT_CAPTION, COLOUR_GREY), SetDataTip(STR_CHEATS, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_CAPTION, COLOUR_GREY), SetStringTip(STR_CHEATS, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_SHADEBOX, COLOUR_GREY),
NWidget(WWT_STICKYBOX, COLOUR_GREY),
EndContainer(),