aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/text_block.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/text_block.hpp')
-rw-r--r--include/cru/ui/controls/text_block.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/controls/text_block.hpp b/include/cru/ui/controls/text_block.hpp
index 701f946f..ec61a08c 100644
--- a/include/cru/ui/controls/text_block.hpp
+++ b/include/cru/ui/controls/text_block.hpp
@@ -30,7 +30,7 @@ class TextBlock : public NoChildControl {
render::TextRenderObject* GetTextRenderObject();
render::CanvasRenderObject* GetCaretRenderObject();
- platform::graph::IBrush* GetCaretBrush();
+ std::shared_ptr<platform::graph::IBrush> GetCaretBrush();
private:
std::unique_ptr<render::StackLayoutRenderObject> root_render_object_;