aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 20:16:04 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 20:16:18 +0200
commitbc4cef92d8efbf97a9215122abc2d7247c287f12 (patch)
treea5ca307281c4f143b5f172428c9fd2b629d6b426 /c/datalistview.cpp
parent5c1c2ce2bdbf9735ad8a4d162609a8c22a4f0954 (diff)
downloadEpisodeBrowser-bc4cef92d8efbf97a9215122abc2d7247c287f12.tar.gz
Improve Window object.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp7
1 files changed, 3 insertions, 4 deletions
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 <windows.h>
#include <commctrl.h>
-#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<HMENU>(IDC_DATALISTVIEW), LVS_NOCOLUMNHEADER)
@@ -81,7 +80,7 @@ void DataListView::ShowEpisode(const int iEpisode)
}
}
- UpdateLayout();
+ parent.UpdateLayout();
LVFINDINFO lvfi;
lvfi.flags = LVFI_PARAM;