summaryrefslogtreecommitdiff
path: root/include/vcl/listctrl.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-08 01:30:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-10 17:30:38 +0200
commitfb584d4fd3da60589ddcc3a0a712cdedfd4c75de (patch)
treedb9423c11a621ad2ccaff95674e880b431674af8 /include/vcl/listctrl.hxx
parent02ff84dca24793a54c0fd5ce783550900eb0cd27 (diff)
store vcl::Window in ListControl to allow adding VclContainer
Change-Id: Ib7f145ae1137ec29749e0a60a21e84dd747ac5c1 Reviewed-on: https://gerrit.libreoffice.org/43253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/vcl/listctrl.hxx')
-rw-r--r--include/vcl/listctrl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/listctrl.hxx b/include/vcl/listctrl.hxx
index 4d56e2685e79..db6dcbe0c08b 100644
--- a/include/vcl/listctrl.hxx
+++ b/include/vcl/listctrl.hxx
@@ -31,7 +31,7 @@
class VCL_DLLPUBLIC ListControl : public Control
{
private:
- std::vector<VclPtr<Control>> maEntries;
+ std::vector<VclPtr<vcl::Window>> maEntries;
bool mbHasScrollBar;
VclPtr<ScrollBar> mpScrollBar;
@@ -43,7 +43,7 @@ public:
virtual ~ListControl() override;
virtual void dispose() override;
- void addEntry(VclPtr<Control> xEntry, sal_uInt32 nPos = std::numeric_limits<sal_uInt16>::max());
+ void addEntry(VclPtr<vcl::Window> xEntry, sal_uInt32 nPos = std::numeric_limits<sal_uInt16>::max());
void deleteEntry(sal_uInt32 nPos);
virtual Size GetOptimalSize() const override;