Codechange: replace SetDataTip(0x0, with SetTooltip(

This commit is contained in:
Rubidium
2025-01-02 11:37:14 +01:00
committed by rubidium42
parent ee3ea57a85
commit 7c2668d10f
26 changed files with 63 additions and 63 deletions

View File

@@ -275,7 +275,7 @@ static std::unique_ptr<NWidgetBase> MakeTreeTypeButtons()
for (int col = 0; col < num_columns; col++) {
if (cur_type > type_base + type_count) break;
auto button = std::make_unique<NWidgetBackground>(WWT_PANEL, COLOUR_GREY, WID_BT_TYPE_BUTTON_FIRST + cur_type);
button->SetDataTip(0x0, STR_PLANT_TREE_TOOLTIP);
button->SetToolTip(STR_PLANT_TREE_TOOLTIP);
hstack->Add(std::move(button));
cur_type++;
}