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
commit 281b319588
Notes: sideshowbarker 2024-07-17 08:36:00 +09:00

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.