diff --git a/egui/src/containers/combo_box.rs b/egui/src/containers/combo_box.rs index acb41398..6d7b07c0 100644 --- a/egui/src/containers/combo_box.rs +++ b/egui/src/containers/combo_box.rs @@ -143,43 +143,6 @@ impl ComboBox { } } -/// A drop-down selection menu with a descriptive label. -/// -/// Deprecated! Use [`ComboBox`] instead! -/// -/// Returns `InnerResponse { inner: None }` if the combo box is closed. -/// -/// ``` -/// # #[derive(Debug, PartialEq)] -/// # enum Enum { First, Second, Third } -/// # let mut selected = Enum::First; -/// # let mut ui = &mut egui::Ui::__test(); -/// egui::combo_box_with_label(ui, "Select one!", format!("{:?}", selected), |ui| { -/// ui.selectable_value(&mut selected, Enum::First, "First"); -/// ui.selectable_value(&mut selected, Enum::Second, "Second"); -/// ui.selectable_value(&mut selected, Enum::Third, "Third"); -/// }); -/// ``` -#[deprecated = "Use egui::ComboBox::from_label instead"] -pub fn combo_box_with_label( - ui: &mut Ui, - label: impl Into