From b1e5337f15a45fa49e2cc9803808928d0dad7a56 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Thu, 14 Mar 2019 02:57:01 +0500 Subject: [PATCH] xrUICore/ComboBox/UIComboBox_script.cpp: restored compatibility with Clear Sky --- src/xrUICore/ComboBox/UIComboBox_script.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrUICore/ComboBox/UIComboBox_script.cpp b/src/xrUICore/ComboBox/UIComboBox_script.cpp index 93fd106a828..e90e00a0f68 100644 --- a/src/xrUICore/ComboBox/UIComboBox_script.cpp +++ b/src/xrUICore/ComboBox/UIComboBox_script.cpp @@ -23,6 +23,7 @@ SCRIPT_EXPORT(CUIComboBox, (CUIWindow), .def("SetVertScroll", &CUIComboBox::SetVertScroll) .def("SetListLength", &CUIComboBox::SetListLength) .def("CurrentID", &CUIComboBox::CurrentID) + .def("SetCurrentID", &CUIComboBox::SetItemIDX) .def("disable_id", &CUIComboBox::disable_id) .def("enable_id", &CUIComboBox::enable_id) .def("AddItem", &CUIComboBox::AddItem_) @@ -30,6 +31,7 @@ SCRIPT_EXPORT(CUIComboBox, (CUIWindow), .def("GetTextOf", &CUIComboBox::GetTextOf) .def("SetText", &CUIComboBox::SetText) .def("ClearList", &CUIComboBox::ClearList) + .def("SetCurrentValue", &CUIComboBox::SetCurrentOptValue) .def("SetCurrentOptValue", &CUIComboBox::SetCurrentOptValue) ]; });