From d1be99d31723c92c89019a6f8ce48ac08b9397e5 Mon Sep 17 00:00:00 2001 From: Bader Date: Tue, 27 Aug 2024 13:39:17 +0100 Subject: [PATCH] Fix combo_box::drop_down_style update --- src/xtd.forms/src/xtd/forms/combo_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtd.forms/src/xtd/forms/combo_box.cpp b/src/xtd.forms/src/xtd/forms/combo_box.cpp index b4375577d0e..8079f0e1894 100644 --- a/src/xtd.forms/src/xtd/forms/combo_box.cpp +++ b/src/xtd.forms/src/xtd/forms/combo_box.cpp @@ -59,7 +59,7 @@ combo_box_style combo_box::drop_down_style() const noexcept { } combo_box& combo_box::drop_down_style(combo_box_style drop_down_style) { - if (data_->drop_down_style == drop_down_style) + if (data_->drop_down_style == drop_down_style) return *this; data_->drop_down_style = drop_down_style; post_recreate_handle(); on_drop_down_style_changed(event_args::empty);