LibGUI: Make Checkbox constructor protected

This commit is contained in:
kleines Filmröllchen 2022-07-23 13:49:41 +02:00 committed by Andreas Kling
parent fac4529082
commit 281b319588

View file

@ -29,9 +29,10 @@ public:
CheckBoxPosition checkbox_position() const { return m_checkbox_position; }
void set_checkbox_position(CheckBoxPosition value) { m_checkbox_position = value; }
private:
protected:
explicit CheckBox(String = {});
private:
void size_to_fit();
// These don't make sense for a check box, so hide them.