aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-07 23:14:45 +0800
committercrupest <crupest@outlook.com>2018-09-07 23:14:45 +0800
commit7cbe80c19170c8c742fd280c555eafbd2a51b4da (patch)
tree5de92beb3429be41668e10e151c0eda9e52a1db4
parentf8f9ca9a99da8a9dc014f5ed9a4f7d121eb87252 (diff)
downloadcru-7cbe80c19170c8c742fd280c555eafbd2a51b4da.tar.gz
cru-7cbe80c19170c8c742fd280c555eafbd2a51b4da.tar.bz2
cru-7cbe80c19170c8c742fd280c555eafbd2a51b4da.zip
...
-rw-r--r--CruUI/ui/controls/text_block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/controls/text_block.cpp b/CruUI/ui/controls/text_block.cpp
index 05eb775e..86d01896 100644
--- a/CruUI/ui/controls/text_block.cpp
+++ b/CruUI/ui/controls/text_block.cpp
@@ -16,7 +16,7 @@ namespace cru
}
TextBlock::TextBlock(const Microsoft::WRL::ComPtr<IDWriteTextFormat>& init_text_format,
- const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush)
+ const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush) : Control(false)
{
text_format_ = init_text_format;
if (init_brush == nullptr)