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/episodelistview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/episodelistview.h') diff --git a/c/episodelistview.h b/c/episodelistview.h index e6f2858..52175a0 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -14,7 +14,7 @@ struct EpisodeListView : public ListView { - EpisodeListView(HWND hWndParent); + EpisodeListView(Window& parent); void EnsureFocusVisible(); void HandleContextMenu(WORD); LRESULT HandleNotify(LPARAM lParam); -- cgit v1.2.3