From 8c89641dbe11528b8a3724a3a2061c3c04e11ce4 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 8 Dec 2007 01:20:47 +0000 Subject: (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function --- src/window.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index ef172230b..19b5ccc7f 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -85,9 +85,9 @@ void Window::RaiseButtons() uint i; for (i = 0; i < this->widget_count; i++) { - if (IsWidgetLowered(i)) { - RaiseWidget(i); - InvalidateWidget(i); + if (this->IsWidgetLowered(i)) { + this->RaiseWidget(i); + this->InvalidateWidget(i); } } } @@ -1041,7 +1041,7 @@ static void DecreaseWindowCounters() if (w->flags4&WF_TIMEOUT_MASK && !(--w->flags4&WF_TIMEOUT_MASK)) { CallWindowEventNP(w, WE_TIMEOUT); - if (w->desc_flags & WDF_UNCLICK_BUTTONS) RaiseWindowButtons(w); + if (w->desc_flags & WDF_UNCLICK_BUTTONS) w->RaiseButtons(); } } } -- cgit v1.2.3-54-g00ecf