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/datalistview.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'c/datalistview.cpp') diff --git a/c/datalistview.cpp b/c/datalistview.cpp index cdd8189..92fc05c 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -3,13 +3,12 @@ #include #include -#include "resource.h" #include "data.h" #include "datalistview.h" #include "episodelistview.h" #include "listview.h" -#include "layout.h" -#include "main.h" +#include "resource.h" +#include "window.h" DataListView::DataListView(Window& parent) : ListView(parent, reinterpret_cast(IDC_DATALISTVIEW), LVS_NOCOLUMNHEADER) @@ -81,7 +80,7 @@ void DataListView::ShowEpisode(const int iEpisode) } } - UpdateLayout(); + parent.UpdateLayout(); LVFINDINFO lvfi; lvfi.flags = LVFI_PARAM; -- cgit v1.2.3