From 4347758e489b37a9d28c0b4b75931ed30fb6eb38 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 28 Sep 2009 12:38:35 +0000 Subject: (svn r17658) -Codechange: remove custom drawing of the signal density in the signal GUI -Codechange: move the state updates from OnPaint --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index d7ac17356..7ea4ff194 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -751,7 +751,7 @@ static bool TrainAccelerationModelChanged(int32 p1) static bool DragSignalsDensityChanged(int32) { - SetWindowDirty(WC_BUILD_SIGNAL, 0); + InvalidateWindowData(WC_BUILD_SIGNAL, 0); return true; } -- cgit v1.2.3-54-g00ecf