mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:27:35 +00:00
LibCore: Add CEvent and make LibGUI/GEvent inherit from it.
This commit is contained in:
parent
696ada2810
commit
b8062f69d8
31 changed files with 98 additions and 159 deletions
|
@ -31,7 +31,7 @@ void GStackWidget::resize_event(GResizeEvent& event)
|
|||
m_active_widget->set_relative_rect({ { }, event.size() });
|
||||
}
|
||||
|
||||
void GStackWidget::child_event(GChildEvent& event)
|
||||
void GStackWidget::child_event(CChildEvent& event)
|
||||
{
|
||||
if (!event.child() || !event.child()->is_widget())
|
||||
return GWidget::child_event(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue