Codechange: make direct access to tooltip/widget_data protected

This commit is contained in:
Rubidium
2025-01-03 10:07:04 +01:00
committed by rubidium42
parent e543768570
commit 532f7de1f8
2 changed files with 6 additions and 2 deletions

View File

@@ -3142,7 +3142,7 @@ static bool IsAttributeWidgetPartType(WidgetType tp)
* @param dest NWidget to apply attribute to.
* @pre NWidgetPart must be an attribute NWidgetPart.
*/
static void ApplyNWidgetPartAttribute(const NWidgetPart &nwid, NWidgetBase *dest)
void ApplyNWidgetPartAttribute(const NWidgetPart &nwid, NWidgetBase *dest)
{
switch (nwid.type) {
case WPT_RESIZE: {