aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index 3999b40..a71a270 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -12,6 +12,9 @@
#include "layout.h"
#include "wcharptr.h"
+extern CfgA& g_cfg;
+extern FileView<DlvDataA> g_fvDlv;
+
DataListView::DataListView(const HWND hWndParent)
: ListView(hWndParent, reinterpret_cast<HMENU>(IDC_DATALISTVIEW), LVS_NOCOLUMNHEADER)
{
@@ -29,7 +32,6 @@ DataListView::DataListView(const HWND hWndParent)
lvc.cx = 500;
ListView_InsertColumn(hWnd, DLVSIVALUE, &lvc);
- extern CfgA& g_cfg;
m_height = g_cfg.heightDlv;
}