ladybird/LibGUI/GEvent.cpp
Andreas Kling 497300c492 LibGUI: Add a GStackWidget for many widgets sharing a single location.
Call set_active_widget(GWidget*) to put a new widget on top.
2019-03-15 16:12:06 +01:00

12 lines
201 B
C++

#include <LibGUI/GEvent.h>
#include <LibGUI/GObject.h>
GChildEvent::GChildEvent(Type type, GObject& child)
: GEvent(type)
, m_child(child.make_weak_ptr())
{
}
GChildEvent::~GChildEvent()
{
}