mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibGUI: Make GMenu inherit from CObject
This is primarily to make it possible to pass a GMenu* where a CObject* is expected.
This commit is contained in:
parent
e9dda8d592
commit
fd5eb79d19
39 changed files with 88 additions and 86 deletions
|
@ -61,5 +61,5 @@ private:
|
|||
Point m_next_insertion_position;
|
||||
Direction m_resize_direction { Direction::None };
|
||||
Direction m_mouse_direction_type { Direction::None };
|
||||
OwnPtr<GMenu> m_context_menu;
|
||||
RefPtr<GMenu> m_context_menu;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue