X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..a45d2855c6882edc830777de2cec9ac21caced61:/src/msw/combobox.cpp?ds=sidebyside diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 50681b9440..d85ef7e887 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -748,6 +748,13 @@ int wxComboBox::GetSelection() const return wxChoice::GetSelection(); } +void wxComboBox::Clear() +{ + wxChoice::Clear(); + m_selectionOld = -1; + m_value.clear(); +} + // ---------------------------------------------------------------------------- // standard event handling // ----------------------------------------------------------------------------