aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 02:11:49 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 02:14:11 +0200
commit90c7bc237c9cf964c16f0cb48c308a92a8193a5c (patch)
tree53f165056dffa061a9dfe39b76913edab87056f4 /c/episodelistview.h
parentbb9280267bfb78a8d69adea02f5ed7894833b19d (diff)
downloadEpisodeBrowser-90c7bc237c9cf964c16f0cb48c308a92a8193a5c.tar.gz
Use global Window object.
This makes it easier to control initialization and maintain RAII.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r--c/episodelistview.h2
1 files changed, 1 insertions, 1 deletions
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);