diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-01-03 14:40:47 -0600 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-01-03 14:40:59 -0600 |
| commit | ca786597f773eb6f064fcb98a1e9437d2cfe8ac4 (patch) | |
| tree | 952ab4b0dd5b0405a6839253b669f1fc13342d23 /FL | |
| parent | 6c7b005a955cf5c381fb8961c9a8d87556038451 (diff) | |
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.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Valuator.H | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |
