From c90fe7ce9350838792c867c5224e21c9a12851a7 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Sun, 19 Jul 2020 10:23:12 -0400 Subject: [PATCH] LibGUI: Use ControlBoxButtons in SpinBox and ComboBox Converts the buttons of these widgets into ControlBoxButtons. --- Libraries/LibGUI/ComboBox.cpp | 5 ++--- Libraries/LibGUI/ComboBox.h | 3 ++- Libraries/LibGUI/SpinBox.cpp | 9 ++++----- Libraries/LibGUI/SpinBox.h | 6 ++++-- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Libraries/LibGUI/ComboBox.cpp b/Libraries/LibGUI/ComboBox.cpp index ea9b65b4be..aa99594194 100644 --- a/Libraries/LibGUI/ComboBox.cpp +++ b/Libraries/LibGUI/ComboBox.cpp @@ -24,8 +24,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include +#include #include #include #include @@ -89,9 +89,8 @@ ComboBox::ComboBox() m_open_button->click(); }; - m_open_button = add