aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/text_control.hpp')
-rw-r--r--src/ui/controls/text_control.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/controls/text_control.hpp b/src/ui/controls/text_control.hpp
index fddd8ec7..9b83f4bb 100644
--- a/src/ui/controls/text_control.hpp
+++ b/src/ui/controls/text_control.hpp
@@ -66,6 +66,8 @@ namespace cru::ui::controls
virtual void RequestChangeCaretPosition(unsigned position);
+ void OnRectChange(const Rect& old_rect, const Rect& new_rect) override;
+
private:
void OnTextChangedCore(const String& old_text, const String& new_text);