X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..17cfea01628866d8c0669d54406b37c550995597:/src/msw/combobox.cpp 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 // ----------------------------------------------------------------------------