summaryrefslogtreecommitdiffstats
path: root/Project/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Constant.h')
-rw-r--r--Project/Constant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Constant.h b/Project/Constant.h
index abc7871..b9e9f93 100644
--- a/Project/Constant.h
+++ b/Project/Constant.h
@@ -43,7 +43,7 @@ class Constant : public ControlElement
virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
virtual bool ShowForm(wxWindow* parent, Element* element);
virtual void Rotate(bool clockwise = true);
- virtual void UpdateText() { SetValue(m_value); }
+ virtual bool UpdateText();
virtual void SetValue(double value);
virtual double GetValue() const { return m_value; }
virtual void UpdatePoints();