From bc4cef92d8efbf97a9215122abc2d7247c287f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 20:16:04 +0200 Subject: Improve Window object. --- c/listview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/listview.cpp') diff --git a/c/listview.cpp b/c/listview.cpp index 6074707..03a65ae 100644 --- a/c/listview.cpp +++ b/c/listview.cpp @@ -1,10 +1,10 @@ #include #include +#include "drag.h" #include "listview.h" -#include "layout.h" -#include "main.h" -#include "win.h" +#include "win32.h" +#include "window.h" /* Actual window procedure for all list views, which calls the * appropriate WndProc member function. */ @@ -66,7 +66,7 @@ LRESULT CALLBACK ListView::WndProc(const HWND hWnd, const UINT uMsg, case WM_NOTIFY: switch (reinterpret_cast(lParam)->code) { case HDN_ENDTRACK: - UpdateLayout(); + parent.UpdateLayout(); return TRUE; } break; -- cgit v1.2.3