aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform.h')
-rw-r--r--src/Platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform.h b/src/Platform.h
index c0a13d911..3b5b991b0 100644
--- a/src/Platform.h
+++ b/src/Platform.h
@@ -273,7 +273,7 @@ class ListBox : public Window {
public:
ListBox() noexcept;
~ListBox() override;
- static ListBox *Allocate();
+ static std::unique_ptr<ListBox> Allocate();
virtual void SetFont(const Font *font)=0;
virtual void Create(Window &parent, int ctrlID, Point location, int lineHeight_, bool unicodeMode_, int technology_)=0;