From 3774f2214c360fdd45d19ca2520a3adc76979006 Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Sun, 17 Dec 2023 12:54:20 +0300 Subject: [PATCH] fix tab drawing issue --- fltk | 2 +- include/cfl_widget.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fltk b/fltk index 638e762..469d3ef 160000 --- a/fltk +++ b/fltk @@ -1 +1 @@ -Subproject commit 638e762d3ebdb0b2e736e1deecaa7d86529fc1e5 +Subproject commit 469d3ef3d5e9bc27eb5cd0ef6532f89568604572 diff --git a/include/cfl_widget.hpp b/include/cfl_widget.hpp index 01aa199..6608b9a 100644 --- a/include/cfl_widget.hpp +++ b/include/cfl_widget.hpp @@ -62,12 +62,12 @@ struct Widget_Derived : public T { this->redraw(); } void resize(int x, int y, int w, int h) override { + T::resize(x, y, w, h); if (this->as_window() == this->top_window()) { LOCK(Fl::handle(28, this->top_window())); } if (resize_handler) resize_handler(this, x, y, w, h, resize_data_); - T::resize(x, y, w, h); } int handle(int event) override { int ret = T::handle(event);