aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.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/datalistview.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/datalistview.h')
-rw-r--r--c/datalistview.h2
1 files changed, 1 insertions, 1 deletions
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;