(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.

This commit is contained in:
glx 2007-12-07 17:42:15 +00:00
parent 7159007a35
commit 10e17c30a3
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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 {