aboutsummaryrefslogtreecommitdiff
path: root/c/listview.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/listview.cpp
parent5c1c2ce2bdbf9735ad8a4d162609a8c22a4f0954 (diff)
downloadEpisodeBrowser-bc4cef92d8efbf97a9215122abc2d7247c287f12.tar.gz
Improve Window object.
Diffstat (limited to 'c/listview.cpp')
-rw-r--r--c/listview.cpp8
1 files changed, 4 insertions, 4 deletions
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 <windows.h>
#include <commctrl.h>
+#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<NMHDR*>(lParam)->code) {
case HDN_ENDTRACK:
- UpdateLayout();
+ parent.UpdateLayout();
return TRUE;
}
break;