From cdf2832347b8fdf0389cd373c2ead0ac5d071037 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Thu, 5 Feb 2026 16:24:45 +0500 Subject: wip --- FL/Fl_Widget_Tracker.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL/Fl_Widget_Tracker.H') diff --git a/FL/Fl_Widget_Tracker.H b/FL/Fl_Widget_Tracker.H index fb2182e5f..0a2a5b6da 100644 --- a/FL/Fl_Widget_Tracker.H +++ b/FL/Fl_Widget_Tracker.H @@ -87,11 +87,11 @@ public: /** Clear the widget pointer. */ - void clear() { wp_ = nullptr; } + void clear() { wp_ = 0; } /** Returns a pointer to the watched widget. - \return nullptr if the widget was deleted. + \return 0 if the widget was deleted. */ Fl_Widget *widget() { return wp_; } @@ -99,13 +99,13 @@ public: Check if the widget was deleted since the tracker was created. \return 1 if the watched widget has been deleted, otherwise 0 */ - int deleted() {return wp_ == nullptr;} + int deleted() {return wp_ == 0;} /** Check if the widget exists and was not deleted since the tracker was created. \return 1 if the watched widget exists, otherwise 0 */ - int exists() { return wp_ != nullptr; } + int exists() { return wp_ != 0; } }; -- cgit v1.2.3