forked from mirror/OpenTTD
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
@@ -297,7 +297,7 @@ struct Window {
|
||||
void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
|
||||
void CDECL SetWidgetsHiddenState(bool hidden_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 {
|
||||
|
Reference in New Issue
Block a user