mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
LibGUI: Convert GWindow to ObjectPtr
This commit is contained in:
parent
70412c7d4f
commit
7584480f62
25 changed files with 37 additions and 37 deletions
|
@ -24,7 +24,6 @@ enum class GStandardCursor {
|
|||
class GWindow : public CObject {
|
||||
C_OBJECT(GWindow)
|
||||
public:
|
||||
GWindow(CObject* parent = nullptr);
|
||||
virtual ~GWindow() override;
|
||||
|
||||
static GWindow* from_window_id(int);
|
||||
|
@ -135,6 +134,7 @@ public:
|
|||
virtual void save_to(AK::JsonObject&) override;
|
||||
|
||||
protected:
|
||||
GWindow(CObject* parent = nullptr);
|
||||
virtual void wm_event(GWMEvent&);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue