mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
This commit is contained in:
parent
7159007a35
commit
10e17c30a3
@ -134,7 +134,7 @@ void Window::RaiseButtons()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::InvalidateWidget(byte widget_index)
|
void Window::InvalidateWidget(byte widget_index) const
|
||||||
{
|
{
|
||||||
const Widget *wi = &this->widget[widget_index];
|
const Widget *wi = &this->widget[widget_index];
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ struct Window {
|
|||||||
void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
|
void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
|
||||||
void CDECL SetWidgetsHiddenState(bool hidden_stat, int widgets, ...);
|
void CDECL SetWidgetsHiddenState(bool hidden_stat, int widgets, ...);
|
||||||
void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);
|
void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);
|
||||||
void InvalidateWidget(byte widget_index);
|
void InvalidateWidget(byte widget_index) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct querystr_d {
|
struct querystr_d {
|
||||||
|
Loading…
Reference in New Issue
Block a user