diff options
Diffstat (limited to 'Project/IOControl.h')
-rw-r--r-- | Project/IOControl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/IOControl.h b/Project/IOControl.h index 3f59a73..a445efb 100644 --- a/Project/IOControl.h +++ b/Project/IOControl.h @@ -57,7 +57,7 @@ class IOControl : 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 wxString GenerateText(); virtual void UpdatePoints(); |