From 90c7bc237c9cf964c16f0cb48c308a92a8193a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 2 Sep 2022 02:11:49 +0200 Subject: Use global Window object. This makes it easier to control initialization and maintain RAII. --- c/datalistview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/datalistview.h') diff --git a/c/datalistview.h b/c/datalistview.h index 57cb565..21d6f05 100644 --- a/c/datalistview.h +++ b/c/datalistview.h @@ -9,7 +9,7 @@ struct DataListView : public ListView { - DataListView(HWND hWndParent); + DataListView(Window& parent); /* Return manual height, if set, or calculate height * appropriate for number of items. */ int Height() override; -- cgit v1.2.3