1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

LibGUI: Convert GRadioButton to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 18:58:03 +02:00
parent 870bc2a4d1
commit f8d751440b
3 changed files with 11 additions and 6 deletions

View file

@ -5,12 +5,12 @@
class GRadioButton : public GAbstractButton {
C_OBJECT(GRadioButton)
public:
GRadioButton(const StringView& text, GWidget* parent);
virtual ~GRadioButton() override;
virtual void click() override;
protected:
GRadioButton(const StringView& text, GWidget* parent);
virtual void paint_event(GPaintEvent&) override;
private: