diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-19 20:41:58 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-19 20:42:08 +0200 |
| commit | e8eccde8db246d262d7a9e1c6088cc24e82c84e8 (patch) | |
| tree | 1ce212048c5b6f96e51463cbd9bb3e9ef1813998 /fluid/widget_browser.cxx | |
| parent | 35728ac9ecab78cc60ca89f9b5a6ad8f864bb8c4 (diff) | |
FLUID: RTTI improvements, 'is_a90' now const, apply RTTI
Diffstat (limited to 'fluid/widget_browser.cxx')
| -rw-r--r-- | fluid/widget_browser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/widget_browser.cxx b/fluid/widget_browser.cxx index b9e6f68dd..b7f95ba62 100644 --- a/fluid/widget_browser.cxx +++ b/fluid/widget_browser.cxx @@ -345,11 +345,11 @@ void Widget_Browser::item_draw(void *v, int X, int Y, int, int) const { } if ( l->is_widget() - && !l->is_window() + && !l->is_a(Fl_Type::ID_Window) && ((Fl_Widget_Type*)l)->o && !((Fl_Widget_Type*)l)->o->visible() - && (!l->parent || ( (l->parent->id() != Fl_Type::ID_Tabs) - && (l->parent->id() != Fl_Type::ID_Wizard) ) ) + && (!l->parent || ( !l->parent->is_a(Fl_Type::ID_Tabs) + && !l->parent->is_a(Fl_Type::ID_Wizard) ) ) ) { invisible_pixmap->draw(X - 17, Y); |
