From ca786597f773eb6f064fcb98a1e9437d2cfe8ac4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher <github@matthiasm.com> Date: Fri, 3 Jan 2025 14:40:47 -0600 Subject: [PATCH] Add Fl_Valuator destructor. This is required by Swig to generate code for wrapping FLTK for Python and potentially other languages. It has no impact on the API or ABI. --- FL/Fl_Valuator.H | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FL/Fl_Valuator.H b/FL/Fl_Valuator.H index 9eaf2eaac..7562b0f17 100644 --- a/FL/Fl_Valuator.H +++ b/FL/Fl_Valuator.H @@ -69,6 +69,8 @@ protected: public: + /** Destructor is accessible despite protected constructor. */ + ~Fl_Valuator() FL_OVERRIDE { } /** Sets the minimum (a) and maximum (b) values for the valuator widget. */ void bounds(double a, double b) {min=a; max=b;} /** Gets the minimum value for the valuator. */ -- GitLab