From 7043bf93567689f3b1304cc998c1fb09b7e0e357 Mon Sep 17 00:00:00 2001 From: Thales Lima Date: Wed, 25 Oct 2017 19:17:00 -0200 Subject: Fixed textures bug on linux --- Project/Constant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Constant.h') 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(); -- cgit